Skip to content
Snippets Groups Projects
Commit 3fb66b4b authored by Bayu Samudra's avatar Bayu Samudra
Browse files

feat: adding bootstrap data

parent faa97993
Branches
Tags
No related merge requests found
Pipeline #51981 passed with stages
in 1 minute and 49 seconds
-- +migrate Up
INSERT INTO public."user" ("email", "password", "name", "role", "is_activated")
VALUES
('admin@example.com', '$2a$10$J4POz3KQESxzA.d9S8rHRu3ZuJSRdcJkVQcx1SRdMNQqtD8gHfccy', 'admin', 'admin', true),
('contributor@example.com', '$2a$10$J4POz3KQESxzA.d9S8rHRu3ZuJSRdcJkVQcx1SRdMNQqtD8gHfccy', 'contributor', 'contributor', false);
-- +migrate Down
DELETE FROM public."user" WHERE email IN (
'admin@example.com',
'contributor@example.com'
);
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment