almost finish refactoring PersistentCredential trait
This commit is contained in:
1 parent
37b44ddb2e
commit
ce7d75f15a
21 files changed
+1287
-459
No files matched your search
@@ -41,13 +41,13 @@ CREATE TABLE credentials (
|
||||
-- id is a UUID so we can generate it on the frontend
|
||||
id BLOB UNIQUE NOT NULL,
|
||||
name TEXT UNIQUE NOT NULL,
|
||||
type TEXT NOT NULL,
|
||||
credential_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, is_default, created_at)
|
||||
INSERT INTO credentials (id, name, credential_type, is_default, created_at)
|
||||
SELECT id, 'default', 'aws', 1, created_at FROM aws_tmp;
|
||||
|
||||
-- new AWS-specific table
|
||||
|
||||
Reference in new issue
Block a user