Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function up() |
||
28 | { |
||
29 | Schema::connection($this->eventStoreConnection)->create($this->eventStoreTableName, function (Blueprint $table) { |
||
30 | $table->increments('id'); |
||
31 | |||
32 | $table->char('uuid', 36); |
||
33 | $table->integer('playhead')->unsigned(); |
||
34 | $table->text('metadata'); |
||
35 | $table->text('payload'); |
||
36 | $table->string('recorded_on', 32); |
||
37 | $table->text('type'); |
||
38 | |||
39 | $table->unique(['uuid', 'playhead']); |
||
40 | }); |
||
41 | } |
||
42 | |||
48 |