17 Nov - Static Sites to laravel

This commit is contained in:
Kevin Adametz 2018-11-17 02:01:22 +01:00
parent 610aa1e202
commit 5ff57a21a7
3661 changed files with 569001 additions and 771 deletions

View file

@ -17,12 +17,14 @@ class CreateAttributesTable extends Migration
$table->increments('id');
$table->unsignedInteger('parent_id')->index()->nullable();
$table->string('name')->index();
$table->text('trans_name')->nullable();
$table->tinyInteger('pos')->unsigned()->nullable();
$table->boolean('active')->default(false);
$table->string('slug')->unique()->index();
$table->timestamps();
$table->foreign('parent_id')

View file

@ -23,6 +23,9 @@ class CreateCategoriesTable extends Migration
$table->tinyInteger('pos')->unsigned()->nullable();
$table->boolean('active')->default(false);
$table->string('slug')->unique()->index();
$table->timestamps();
$table->foreign('parent_id')

View file

@ -24,6 +24,8 @@ class CreateProductImagesTable extends Migration
$table->string('mine')->index();
$table->unsignedInteger('size');
$table->boolean('active')->default(true);
$table->string('slug')->unique()->index();
$table->timestamps();
$table->foreign('product_id')