Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class CreateTemplatesTable extends Migration |
||
8 | { |
||
9 | /** |
||
10 | * Run the migrations. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('templates', function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->string('name'); |
||
19 | $table->string('slug'); |
||
20 | $table->string('hintpath'); |
||
21 | $table->string('path'); |
||
22 | $table->string('type'); |
||
23 | $table->string('version'); |
||
24 | $table->string('author'); |
||
25 | $table->longText('fonts'); |
||
26 | $table->longText('css'); |
||
27 | $table->longText('js'); |
||
28 | $table->longText('json'); |
||
29 | $table->integer('active'); |
||
30 | $table->timestamps(); |
||
31 | }); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Reverse the migrations. |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | public function down() |
||
42 | } |
||
43 | } |
||
44 |