Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix user seed data

Steven28a188816336
diff --git a/store/db/seed/10001__user.sql b/store/db/seed/10001__user.sql
index 0cbdc51e8..84cf50a5d 100644
--- a/store/db/seed/10001__user.sql
+++ b/store/db/seed/10001__user.sql
@@ -5,7 +5,6 @@ INSERT INTO
`role`,
`email`,
`nickname`,
- `open_id`,
`password_hash`
)
VALUES
@@ -15,7 +14,6 @@ VALUES
'HOST',
'Demo Hero',
- hex(randomblob(16)),
-- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);
@@ -27,7 +25,6 @@ INSERT INTO
`role`,
`email`,
`nickname`,
- `open_id`,
`password_hash`
)
VALUES
@@ -37,7 +34,6 @@ VALUES
'USER',
'Jack',
- hex(randomblob(16)),
-- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);
@@ -50,7 +46,6 @@ INSERT INTO
`role`,
`email`,
`nickname`,
- `open_id`,
`password_hash`
)
VALUES
@@ -61,7 +56,6 @@ VALUES
'USER',
'Bob',
- hex(randomblob(16)),
-- raw password: secret
'$2a$14$ajq8Q7fbtFRQvXpdCq7Jcuy.Rx1h/L4J60Otx.gyNLbAYctGMJ9tK'
);
\ No newline at end of file