| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class AddTableCmsMenusPrivileges extends Migration |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * Run the migrations. |
||
| 10 | * |
||
| 11 | * @return void |
||
| 12 | */ |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | Schema::create('cms_menus_privileges', function (Blueprint $table) { |
||
| 16 | $table->increments('id'); |
||
| 17 | $table->integer('id_cms_menus')->nullable(); |
||
| 18 | $table->integer('id_cms_privileges')->nullable(); |
||
| 19 | }); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Reverse the migrations. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function down() |
||
| 30 | } |
||
| 31 | } |
||
| 32 |