add apt gestion
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
274ea454dd
commit
c4776d81dd
22 changed files with 1465 additions and 163 deletions
4
internal/store/migrations/000007_repo_config.down.sql
Normal file
4
internal/store/migrations/000007_repo_config.down.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
-- SQLite ne supporte pas DROP COLUMN avant 3.35
|
||||
CREATE TABLE repos_backup AS SELECT id, name, type, source_url, frozen, sync_mode, created_at FROM repos;
|
||||
DROP TABLE repos;
|
||||
ALTER TABLE repos_backup RENAME TO repos;
|
||||
1
internal/store/migrations/000007_repo_config.up.sql
Normal file
1
internal/store/migrations/000007_repo_config.up.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE repos ADD COLUMN config TEXT NOT NULL DEFAULT '';
|
||||
Loading…
Add table
Add a link
Reference in a new issue