camper/demo.sql
jordi fita mas 64d38f515f Add the SQL with demo data
Serves to prime up the database for development and for testing the
application on the staging server.
2023-07-27 18:52:01 +02:00

12 lines
278 B
PL/PgSQL

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;