Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function up() |
||
19 | { |
||
20 | Schema::create('datastore_pages', function (Blueprint $table) { |
||
21 | $table->bigIncrements('id'); |
||
22 | $table->string('title', 255)->nullable(); |
||
23 | $table->string('slug', 255)->nullable(); |
||
24 | $table->unsignedBigInteger('asset')->nullable()->default(0); |
||
25 | |||
26 | |||
27 | |||
28 | $table->foreign('asset', 'datastore_asset_foreign_key')->references('id')->on('datastore')->onDelete('RESTRICT |
||
29 | ')->onUpdate('RESTRICT'); |
||
30 | |||
47 |