@@ -48,8 +48,8 @@ discard block |
||
48 | 48 | public function handle() |
49 | 49 | { |
50 | 50 | if ($this->option('force') == 'true' || $this->confirm("Are you sure you want to make a new table '{$this->config->get('cqrses.eventstore_table')}'" |
51 | - . " on connection '{$this->config->get('cqrses.eventstore_connection')}'" |
|
52 | - . " Do you wish to continue?") |
|
51 | + . " on connection '{$this->config->get('cqrses.eventstore_connection')}'" |
|
52 | + . " Do you wish to continue?") |
|
53 | 53 | ) { |
54 | 54 | return $this->buildEventStoreTable(); |
55 | 55 | } |
@@ -62,16 +62,16 @@ discard block |
||
62 | 62 | protected function buildEventStoreTable() |
63 | 63 | { |
64 | 64 | Schema::connection($this->config->get('cqrses.eventstore_connection')) |
65 | - ->create($this->config->get('cqrses.eventstore_table'), |
|
66 | - function (Blueprint $table) { |
|
67 | - $table->increments('id'); |
|
68 | - $table->string('uuid', 56); |
|
69 | - $table->integer('playhead')->unsigned(); |
|
70 | - $table->text('metadata'); |
|
71 | - $table->text('payload'); |
|
72 | - $table->string('recorded_on', 32); |
|
73 | - $table->text('type'); |
|
74 | - $table->unique(['uuid', 'playhead']); |
|
75 | - }); |
|
65 | + ->create($this->config->get('cqrses.eventstore_table'), |
|
66 | + function (Blueprint $table) { |
|
67 | + $table->increments('id'); |
|
68 | + $table->string('uuid', 56); |
|
69 | + $table->integer('playhead')->unsigned(); |
|
70 | + $table->text('metadata'); |
|
71 | + $table->text('payload'); |
|
72 | + $table->string('recorded_on', 32); |
|
73 | + $table->text('type'); |
|
74 | + $table->unique(['uuid', 'playhead']); |
|
75 | + }); |
|
76 | 76 | } |
77 | 77 | } |
78 | 78 | \ No newline at end of file |