@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function up() |
| 16 | 16 | { |
| 17 | - Schema::create(_PIVOT::table(), function (Blueprint $table) { |
|
| 17 | + Schema::create(_PIVOT::table(), function(Blueprint $table) { |
|
| 18 | 18 | $table->integerIncrements(_PIVOT::ID->column()); |
| 19 | 19 | $table->unsignedInteger(_PIVOT::DOMAIN_ID->column())->index(); |
| 20 | 20 | $table->unsignedInteger(_PIVOT::SET_ID->column())->index(); |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function up() |
| 16 | 16 | { |
| 17 | - Schema::create(_DOMAIN::table(), function (Blueprint $table) { |
|
| 17 | + Schema::create(_DOMAIN::table(), function(Blueprint $table) { |
|
| 18 | 18 | $table->integerIncrements(_DOMAIN::ID->column()); |
| 19 | 19 | $table->string(_DOMAIN::NAME->column(), 191); |
| 20 | 20 | }); |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function up() |
| 16 | 16 | { |
| 17 | - Schema::create(_SET::table(), function (Blueprint $table) { |
|
| 17 | + Schema::create(_SET::table(), function(Blueprint $table) { |
|
| 18 | 18 | $table->integerIncrements(_SET::ID->column()); |
| 19 | 19 | $table->unsignedInteger(_SET::DOMAIN_ID->column()); |
| 20 | 20 | $table->string(_SET::NAME->column()); |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function up() |
| 16 | 16 | { |
| 17 | - Schema::create(_ATTR::table(), function (Blueprint $table) { |
|
| 17 | + Schema::create(_ATTR::table(), function(Blueprint $table) { |
|
| 18 | 18 | $table->integerIncrements(_ATTR::ID->column()); |
| 19 | 19 | $table->unsignedInteger(_ATTR::DOMAIN_ID->column())->index(); |
| 20 | 20 | $table->string(_ATTR::NAME->column(), 191); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function up() |
| 17 | 17 | { |
| 18 | - Schema::create(ATTR_TYPE::STRING->valueTable(), function (Blueprint $table) { |
|
| 18 | + Schema::create(ATTR_TYPE::STRING->valueTable(), function(Blueprint $table) { |
|
| 19 | 19 | $table->integerIncrements(_VALUE::ID->column()); |
| 20 | 20 | $table->unsignedInteger(_VALUE::DOMAIN_ID->column())->index(); |
| 21 | 21 | $table->unsignedInteger(_VALUE::ENTITY_ID->column())->index(); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function up() |
| 17 | 17 | { |
| 18 | - Schema::create(ATTR_TYPE::TEXT->valueTable(), function (Blueprint $table) { |
|
| 18 | + Schema::create(ATTR_TYPE::TEXT->valueTable(), function(Blueprint $table) { |
|
| 19 | 19 | $table->integerIncrements(_VALUE::ID->column()); |
| 20 | 20 | $table->unsignedInteger(_VALUE::DOMAIN_ID->column())->index(); |
| 21 | 21 | $table->unsignedInteger(_VALUE::ENTITY_ID->column())->index(); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function up() |
| 17 | 17 | { |
| 18 | - Schema::create(ATTR_TYPE::INTEGER->valueTable(), function (Blueprint $table) { |
|
| 18 | + Schema::create(ATTR_TYPE::INTEGER->valueTable(), function(Blueprint $table) { |
|
| 19 | 19 | $table->integerIncrements(_VALUE::ID->column()); |
| 20 | 20 | $table->unsignedInteger(_VALUE::DOMAIN_ID->column())->index(); |
| 21 | 21 | $table->unsignedInteger(_VALUE::ENTITY_ID->column())->index(); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function up() |
| 17 | 17 | { |
| 18 | - Schema::create(ATTR_TYPE::DATETIME->valueTable(), function (Blueprint $table) { |
|
| 18 | + Schema::create(ATTR_TYPE::DATETIME->valueTable(), function(Blueprint $table) { |
|
| 19 | 19 | $table->integerIncrements(_VALUE::ID->column()); |
| 20 | 20 | $table->unsignedInteger(_VALUE::DOMAIN_ID->column())->index(); |
| 21 | 21 | $table->unsignedInteger(_VALUE::ENTITY_ID->column())->index(); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function up() |
| 17 | 17 | { |
| 18 | - Schema::create(ATTR_TYPE::DECIMAL->valueTable(), function (Blueprint $table) { |
|
| 18 | + Schema::create(ATTR_TYPE::DECIMAL->valueTable(), function(Blueprint $table) { |
|
| 19 | 19 | $table->integerIncrements(_VALUE::ID->column()); |
| 20 | 20 | $table->unsignedInteger(_VALUE::DOMAIN_ID->column())->index(); |
| 21 | 21 | $table->unsignedInteger(_VALUE::ENTITY_ID->column())->index(); |