roll back the wrong commit

This commit is contained in:
2025-03-12 11:53:49 +03:30
parent 2375cd8b88
commit 30ff1b022a
3 changed files with 7 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ return new class extends Migration
$table->decimal('end_lat', 12, 10)->nullable();
$table->decimal('end_lng', 12, 10)->nullable();
$table->string('project_distance')->nullable();
$table->unsignedTinyInteger('item');//->index('item');
$table->unsignedTinyInteger('item')->index('item');
$table->string('item_fa')->nullable();
$table->integer('sub_item')->nullable();
$table->string('sub_item_fa')->nullable();

View File

@@ -36,10 +36,10 @@ return new class extends Migration
$table->string('action_type', 100)->nullable();
$table->text('model')->nullable();
$table->timestamps();
$table->integer('mm')->nullable();//->storedAs('month(`created_at`)');
$table->integer('yy')->nullable();//->storedAs('year(`created_at`)');
$table->integer('dd')->nullable();//->storedAs('dayofmonth(`created_at`)');
$table->integer('hh')->nullable();//->storedAs('hour(`created_at`)');
$table->integer('mm')->nullable()->storedAs('month(`created_at`)');
$table->integer('yy')->nullable()->storedAs('year(`created_at`)');
$table->integer('dd')->nullable()->storedAs('dayofmonth(`created_at`)');
$table->integer('hh')->nullable()->storedAs('hour(`created_at`)');
});
}

View File

@@ -21,8 +21,8 @@
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="DB_CONNECTION" value="mysql"/>
<env name="DB_DATABASE" value="rms_test_db"/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>