| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('dbm_fields', function (Blueprint $table) { |
||
| 17 | $table->bigIncrements('id'); |
||
| 18 | $table->bigInteger('dbm_object_id')->unsigned(); |
||
| 19 | $table->string('name'); |
||
| 20 | $table->string('display_name'); |
||
| 21 | $table->string('type')->nullable(); |
||
| 22 | $table->boolean('required')->default(false); |
||
| 23 | $table->boolean('create')->default(true); |
||
| 24 | $table->boolean('read')->default(true); |
||
| 25 | $table->boolean('edit')->default(true); |
||
| 26 | $table->boolean('delete')->default(true); |
||
| 27 | $table->integer('order')->unsigned(); |
||
| 28 | $table->text('extra')->nullable(); |
||
| 29 | $table->timestamps(); |
||
| 30 | }); |
||
| 43 |