Add the SQL with demo data

Serves to prime up the database for development and for testing the
application on the staging server.
This commit is contained in:
jordi fita mas 2023-07-27 18:52:01 +02:00
parent f963f54839
commit 64d38f515f
1 changed files with 11 additions and 0 deletions

11
demo.sql Normal file
View File

@ -0,0 +1,11 @@
begin;
set search_path to camper, auth, public;
alter sequence user_user_id_seq restart with 42;
insert into auth."user" (email, name, password, role)
values ('demo@numerus', 'Demo User', 'demo', 'employee')
, ('admin@numerus', 'Demo Admin', 'admin', 'admin')
;
commit;