@tomkapa/tayto 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +190 -111
- package/dist/{chunk-STYT4TGJ.js → chunk-74Q55TOV.js} +41 -2
- package/dist/chunk-74Q55TOV.js.map +1 -0
- package/dist/index.js +162 -80
- package/dist/index.js.map +1 -1
- package/dist/migrations/005_project_git_remote.sql +5 -0
- package/dist/{tui-JEP3F4JS.js → tui-IXZGQMWN.js} +308 -143
- package/dist/tui-IXZGQMWN.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-STYT4TGJ.js.map +0 -1
- package/dist/tui-JEP3F4JS.js.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
-- Add git_remote column to projects for linking projects to git repositories
|
|
2
|
+
ALTER TABLE projects ADD COLUMN git_remote TEXT DEFAULT NULL;
|
|
3
|
+
|
|
4
|
+
-- Partial unique index: enforces 1:1 project-to-remote mapping while allowing multiple NULLs
|
|
5
|
+
CREATE UNIQUE INDEX IF NOT EXISTS idx_projects_git_remote ON projects(git_remote) WHERE git_remote IS NOT NULL;
|