Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CreateDocumentsTable extends Migration |
||
8 | { |
||
9 | public function up() |
||
10 | { |
||
11 | Schema::create('_documents', function (Blueprint $table) { |
||
12 | $table->bigIncrements('id'); |
||
13 | |||
14 | $table->string('model'); |
||
15 | $table->string('collection')->default('documents'); |
||
16 | $table->string('locale'); |
||
17 | $table->jsonb('_attributes'); |
||
18 | |||
19 | $table->timestamps(); |
||
20 | }); |
||
21 | } |
||
22 | |||
23 | public function down() |
||
26 | } |
||
27 | } |
||
28 |