| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function up() |
||
| 23 | { |
||
| 24 | Schema::create(config('easy_panel_config.database.crud_table'), function (Blueprint $table) { |
||
| 25 | $table->id(); |
||
| 26 | $table->string('name')->unique(); |
||
| 27 | $table->string('model')->unique(); |
||
| 28 | $table->string('route')->unique(); |
||
| 29 | $table->string('icon')->default('fas fa-bars'); |
||
| 30 | $table->boolean('active')->default(true); |
||
| 31 | $table->boolean('built')->default(false); |
||
| 32 | $table->boolean('with_acl')->default(false); |
||
| 33 | $table->boolean('with_policy')->default(false); |
||
| 34 | $table->timestamps(); |
||
| 35 | }); |
||
| 48 |