Commit b652757
committed
fix: add col_name to cloudsync_table_settings primary key in SQLite
The SQLite schema used PRIMARY KEY(tbl_name, key), while PostgreSQL
correctly used PRIMARY KEY(tbl_name, col_name, key). The missing
col_name caused REPLACE INTO to silently overwrite column-level
settings sharing the same (tbl_name, key) pair.1 parent 7128c16 commit b652757
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments