[WIP] Refactor architecture, models
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateShopCategoryTagsTable extends Migration {
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('shop_category_tags', function(Blueprint $table)
|
||||
{
|
||||
$table->increments('id');
|
||||
$table->integer('category_id')->unsigned()->nullable();
|
||||
$table->string('name', 50)->nullable();
|
||||
$table->text('description', 65535)->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('shop_category_tags');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user