start refactoring for default credentials

This commit is contained in:
jfmonty2 committed 2024-06-26 11:10:50 -04:00
1 parent 8c668e51a6
commit 37b44ddb2e
21 files changed
+708 -632

No files matched your search

@@ -42,12 +42,13 @@ CREATE TABLE credentials (
id BLOB UNIQUE NOT NULL,
name TEXT UNIQUE NOT NULL,
type TEXT NOT NULL,
is_default BOOLEAN NOT NULL,
created_at INTEGER NOT NULL
);
-- populate with basic data from existing AWS credential
INSERT INTO credentials (id, name, type, created_at)
SELECT id, 'default', 'aws', created_at FROM aws_tmp;
INSERT INTO credentials (id, name, type, is_default, created_at)
SELECT id, 'default', 'aws', 1, created_at FROM aws_tmp;
-- new AWS-specific table
CREATE TABLE aws_credentials (