kernel update, migration update

This commit is contained in:
2024-12-04 11:32:29 +03:00
parent 6c124e9bb7
commit 95a9b47fd5
5 changed files with 11 additions and 10 deletions

View File

@ -22,7 +22,7 @@ class SliderModule extends Module
*/
public function init(): void
{
$this->migrationService->runAtPath("{KERNEL_APP_MODULES}/slider/migrations");
$this->migrationService->runAtPath("{APP}/modules/slider/migrations");
$this->menuService->createItem([
"label" => "Слайдер",

View File

@ -16,6 +16,7 @@ return new class extends Migration
$table->string('title', 255)->nullable(false);
$table->string('additional_information', 255)->nullable(false);
$table->string('content', 255)->nullable(false);
$table->string('link', 255)->nullable(false);
$table->integer('status')->default(0);
$table->timestamps();
});