01 2022 Microsite Promotion

This commit is contained in:
Kevin Adametz 2022-01-18 18:30:14 +01:00
parent 3f1fb9377d
commit 38e7fd504a
39 changed files with 761 additions and 336 deletions

View file

@ -25,6 +25,8 @@ class CreateCategoriesTable extends Migration
$table->text('trans_headline')->nullable();
$table->text('trans_name')->nullable();
$table->unsignedTinyInteger('pos')->nullable()->default(0);
$table->string('show_on')->nullable();
$table->boolean('active')->default(false);
$table->string('slug')->unique()->index();

View file

@ -16,8 +16,10 @@ class CreateProductCategoriesTable extends Migration
Schema::create('product_categories', function (Blueprint $table) {
$table->increments('id');
$table->tinyInteger('pos')->unsigned()->nullable();
$table->unsignedInteger('product_id')->index();
$table->unsignedInteger('category_id')->index();
$table->string('show_on')->nullable();
$table->timestamps();