comment route_logs migration

This commit is contained in:
edmondlang
2023-12-19 00:12:18 +08:00
parent e72e037ed4
commit 0abebbe167
@@ -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();
// });
}
/**