mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
comment route_logs migration
This commit is contained in:
@@ -13,21 +13,21 @@ class CreateRouteLogsTable extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('route_logs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('user_id')->unsigned();
|
||||
$table->string('ip_address');
|
||||
$table->string('url', 255);
|
||||
$table->string('request_method');
|
||||
$table->string('browser')->nullable();
|
||||
$table->string('platform')->nullable();
|
||||
$table->string('longitude')->nullable();
|
||||
$table->string('latitude')->nullable();
|
||||
$table->string('last_page')->nullable();
|
||||
$table->string('countryname')->nullable();
|
||||
$table->integer('route_type');
|
||||
$table->timestamps();
|
||||
});
|
||||
// Schema::create('route_logs', function (Blueprint $table) {
|
||||
// $table->id();
|
||||
// $table->foreignId('user_id')->unsigned();
|
||||
// $table->string('ip_address');
|
||||
// $table->string('url', 255);
|
||||
// $table->string('request_method');
|
||||
// $table->string('browser')->nullable();
|
||||
// $table->string('platform')->nullable();
|
||||
// $table->string('longitude')->nullable();
|
||||
// $table->string('latitude')->nullable();
|
||||
// $table->string('last_page')->nullable();
|
||||
// $table->string('countryname')->nullable();
|
||||
// $table->integer('route_type');
|
||||
// $table->timestamps();
|
||||
// });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user