17 Nov - Static Sites to laravel
This commit is contained in:
parent
610aa1e202
commit
5ff57a21a7
3661 changed files with 569001 additions and 771 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue