01 2022 Microsite Promotion
This commit is contained in:
parent
3f1fb9377d
commit
38e7fd504a
39 changed files with 761 additions and 336 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue