kernel update, migration update
This commit is contained in:
@ -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" => "Слайдер",
|
||||
|
@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user