Compare commits
2 commits
c20eae01c1
...
8f5145eaac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f5145eaac | ||
|
|
d6d6e77744 |
1 changed files with 7 additions and 0 deletions
|
|
@ -702,6 +702,13 @@ def _migrate(conn: sqlite3.Connection):
|
|||
conn.execute("ALTER TABLE projects ADD COLUMN test_command TEXT DEFAULT NULL")
|
||||
conn.commit()
|
||||
|
||||
# KIN-102: Reset legacy 'make test' default — projects using old schema default get auto-detection.
|
||||
# Any project with a real Makefile should have test_command set explicitly, not via this default.
|
||||
conn.execute(
|
||||
"UPDATE projects SET test_command = NULL WHERE test_command = 'make test'"
|
||||
)
|
||||
conn.commit()
|
||||
|
||||
# Rename legacy 'auto' → 'auto_complete' (KIN-063)
|
||||
conn.execute(
|
||||
"UPDATE projects SET execution_mode = 'auto_complete' WHERE execution_mode = 'auto'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue