Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
xpub
xpub-collabra
Commits
21e58ed2
Commit
21e58ed2
authored
Jan 20, 2019
by
Giannis Kopanas
Browse files
mirgation for users
parent
3df637a7
Pipeline
#10955
passed with stages
in 8 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/journal/src/migrations/1537450834-journals.sql
View file @
21e58ed2
...
...
@@ -5,4 +5,24 @@ CREATE TABLE journals (
title
TEXT
,
meta
JSONB
,
type
TEXT
NOT
NULL
);
\ No newline at end of file
);
INSERT
INTO
journals
(
id
,
created
,
updated
,
title
,
meta
,
"type"
)
VALUES
(
'659f69be-be6c-4e7b-8e09-738aed9c8966'
,
'2019-01-15 17:43:00.000'
,
NULL
,
'xpub Collabra'
,
NULL
,
'journal'
);
INSERT
INTO
entities
(
id
,
"data"
)
VALUES
(
'632c37a9-0db2-4b9e-bc01-afd21b00387c'
,
'{"type": "user", "email": "reviewer@reviewer.com", "teams": [], "username": "reviewer", "fragments": [], "collections": [], "passwordHash": "$2b$12$sbyDL0qJglz.bdt/k2G1oe6FZTeXEFqFB7rs4oqfw8DZKlRWuL/Eu"}'
);
INSERT
INTO
entities
(
id
,
"data"
)
VALUES
(
'f8d79eab-0ad2-488e-a8a5-9932dacedac9'
,
'{"type": "user", "email": "senior@senior.com", "teams": [], "username": "senior", "fragments": [], "collections": [], "passwordHash": "$2b$12$nxYi3kicIyePsjBVe4ly7es2lxZeQXsAIYWdhBgtiSBPd2n3uw4cS"}'
);
INSERT
INTO
entities
(
id
,
"data"
)
VALUES
(
'4ca9e849-20f3-4121-86ef-15261be4992c'
,
'{"type": "user", "email": "handling@handling.com", "teams": [], "username": "handling", "fragments": [], "collections": [], "passwordHash": "$2b$12$KBHBDu0GktqnchDnVn8.DOAv6dBocQTYtUePT1AGWEXAjaG5bxooG"}'
);
INSERT
INTO
entities
(
id
,
"data"
)
VALUES
(
'd7009f6c-61aa-49c4-a44e-8a71072d7341'
,
'{"type": "user", "email": "author@author.com", "teams": [], "username": "author", "fragments": [], "collections": [], "passwordHash": "$2b$12$6FuyR6E5CIrU5dNCm52KKOERZW2XGeryuOeNNFwCPxhwxQ2JKLSOm"}'
);
INSERT
INTO
entities
(
id
,
"data"
)
VALUES
(
'454f40b9-bf5d-4007-8879-766a8c9bedf3'
,
'{"type": "user", "email": "admin@admin.com", "teams": [], "username": "admin", " admin": true, "fragments": [], "collections": [], "passwordHash": "$2b$12$HRzkMwUeUY.jdaO..bjK9OhHBm4JOTvq8fjzmpjAPyaYySCnIOyCO"}'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment