Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 12 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
15 | public function up() |
||
16 | { |
||
17 | $this->getSchema()->create('profile_fields', function($table) { |
||
18 | $table->increments('id'); |
||
19 | $table->enum('type', ['text', 'link']); |
||
20 | $table->text('name'); |
||
21 | $table->string('reg_exp', 512)->nullable(); |
||
22 | $table->tinyInteger('reg_cond')->default(0); |
||
23 | $table->timestamps(); |
||
24 | }); |
||
25 | parent::up(); |
||
26 | } |
||
27 | |||
46 | } |