Skip to content

Commit

Permalink
fix(sqlite): make sure ALTER TABLE are not aggregated
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed May 3, 2024
1 parent 8c77a8e commit 74ef2eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/sqlite/src/sqlite-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ export class SQLitePlatform extends DefaultPlatform {
return `${table ? table + '.' : ''}${this.quoteIdentifier(column)}->${this.quoteValue(path)}`;
}

supportsAggregatedAlterTable(): boolean {
return false;
}

getModifyTableDDL(diff: TableDiff, options: MigrateOptions): string[] {
let changeViaMigrationTableNeeded =
false
Expand Down

0 comments on commit 74ef2eb

Please sign in to comment.