You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I solved it by extending the migration controller and overriding the createMigrationHistoryTable action: public function createMigrationHistoryTable() { $tableName = $this->db->schema->getRawTableName($this->migrationTable); $this->stdout("Creating migration history table \"$tableName\"...", Console::FG_YELLOW); $this->db->createCommand()->createTable($this->migrationTable, [ 'version' => 'String', 'date' => 'Date', 'apply_time' => 'UInt32', 'is_deleted' => 'UInt8' //0 active 1 //deleted ], '**ENGINE MergeTree() ORDER BY (date)**')->execute(); $this->addMigrationHistory(self::BASE_MIGRATION); $this->stdout("Done.\n", Console::FG_GREEN); }
...
The text was updated successfully, but these errors were encountered: