Files
coder/coderd/database/migrations/testdata/fixtures/000644_chat_project_templates.up.sql
T
Mathias Fredriksson 99e3bf91a7 fix(coderd/database/migrations): resolve duplicate version (#32329)
Main cannot initialize database migrations because #32309 reused version
000643, already taken by the skill display-name migration from #31747.

Renumber the later chat-project migration and its fixture to 000644,
preserving the earlier migration number. All three renames leave SQL
contents unchanged.
2026-11-17 17:26:27 +00:00

14 lines
467 B
SQL

INSERT INTO chat_project_templates (project_id, template_id, created_by)
VALUES (
'59400000-0000-4000-8000-000000000001',
'6b298946-7a4f-47ac-9158-b03b08740a41',
'0ed9befc-4911-4ccf-a8e2-559bf72daa94'
);
UPDATE chat_projects
SET
limit_templates = true,
default_template_id = '6b298946-7a4f-47ac-9158-b03b08740a41',
default_template_version_preset_id = '28b42cc0-c4fe-4907-a0fe-e4d20f1e9bfe'
WHERE id = '59400000-0000-4000-8000-000000000001';