Skip to content

Commit 7b5ad8a

Browse files
committed
Fix history migration error
1 parent d019195 commit 7b5ad8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/database-backend/migrations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ export default class DatabaseBackendMigrations {
778778

779779
const queryInterface = this.backend._conn.getQueryInterface();
780780

781-
await queryInterface.changeColumn("History", "type", DataTypes.TEXT);
781+
await queryInterface.changeColumn("History", "type", DataTypes.STRING(20));
782782

783783
await this.backend.history.HistoryModel.update({ type: "Map" }, { where: { type: "Pad" } });
784784

0 commit comments

Comments
 (0)