Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('dbm_templates', function (Blueprint $table) { |
||
17 | $table->bigIncrements('id'); |
||
18 | $table->string('name'); |
||
19 | $table->string('old_name'); |
||
20 | $table->string('type'); |
||
21 | $table->integer('length')->nullable(); |
||
22 | $table->string('index')->nullable(); |
||
23 | $table->string('default')->nullable(); |
||
24 | $table->boolean('notnull')->default(false); |
||
25 | $table->boolean('unsigned')->default(true); |
||
26 | $table->boolean('auto_increment')->default(true); |
||
27 | $table->timestamps(); |
||
28 | }); |
||
41 |