Seed user apps and secrets.
This commit is contained in:
@@ -7,6 +7,37 @@ VALUES (
|
||||
'00000000-0000-0000-0000-000000000002'
|
||||
);
|
||||
|
||||
INSERT INTO
|
||||
user_apps (id, user_id)
|
||||
VALUES (
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
'00000000-0000-0000-0000-000000000001'
|
||||
),
|
||||
(
|
||||
'00000000-0000-0000-0000-000000000002',
|
||||
'00000000-0000-0000-0000-000000000002'
|
||||
);
|
||||
|
||||
INSERT INTO
|
||||
user_app_secrets (
|
||||
id,
|
||||
app_id,
|
||||
secret_hash,
|
||||
expires_at
|
||||
)
|
||||
VALUES (
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
sha256 (convert_to ('test', 'UTF8')),
|
||||
'2030-01-01T00:00:00Z'
|
||||
),
|
||||
(
|
||||
'00000000-0000-0000-0000-000000000002',
|
||||
'00000000-0000-0000-0000-000000000002',
|
||||
sha256 (convert_to ('test', 'UTF8')),
|
||||
'2030-01-01T00:00:00Z'
|
||||
);
|
||||
|
||||
INSERT INTO
|
||||
accounts (id, name)
|
||||
VALUES (
|
||||
|
||||
Reference in New Issue
Block a user