Schema correction
This commit is contained in:
@@ -78,9 +78,9 @@ CREATE TABLE IF NOT EXISTS list_members (
|
|||||||
-- Insert sample data
|
-- Insert sample data
|
||||||
|
|
||||||
-- Create default admin user (password: 'password')
|
-- Create default admin user (password: 'password')
|
||||||
-- $2b$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewKv0AhDoLlZ7G.i is bcrypt hash of 'password'
|
-- Hash generated with passlib CryptContext using bcrypt
|
||||||
INSERT INTO users (username, password_hash, role) VALUES
|
INSERT INTO users (username, password_hash, role) VALUES
|
||||||
('admin', '$2b$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewKv0AhDoLlZ7G.i', 'administrator');
|
('admin', '$2b$12$6Lsp/i.clxyEE9O/4D9RLOfyFlxfjvJBhJ8VXT/t4H/QvrnKrE/YK', 'administrator');
|
||||||
|
|
||||||
INSERT INTO lists (list_name, list_email, description) VALUES
|
INSERT INTO lists (list_name, list_email, description) VALUES
|
||||||
('Community', 'community@lists.sasalliance.org', 'General community announcements'),
|
('Community', 'community@lists.sasalliance.org', 'General community announcements'),
|
||||||
|
|||||||
Reference in New Issue
Block a user