Add the SQL for the demo

This commit is contained in:
jordi fita mas 2023-01-17 22:30:01 +01:00
parent d434d040af
commit c369364642
3 changed files with 22 additions and 0 deletions

11
debian/control vendored
View File

@ -46,3 +46,14 @@ Description: Simple invoicing and accounting web application
contractors working in Spain. contractors working in Spain.
. .
This is the Sqitch migration package. This is the Sqitch migration package.
Package: numerus-demo
Architecture: all
Depends:
${misc:Depends},
sqitch
Description: Simple invoicing and accounting web application
A simple web application to keep invoice and accouting records, intended for
contractors working in Spain.
.
This is the demo SQL script.

1
debian/numerus-demo.install vendored Normal file
View File

@ -0,0 +1 @@
demo/demo.sql usr/share/numerus

10
demo/demo.sql Normal file
View File

@ -0,0 +1,10 @@
begin;
set search_path to auth, numerus, public;
insert into auth."user" (email, name, password, role)
values ('demo@numerus', 'Demo User', 'demo', 'invoicer')
, ('admin@numerus', 'Demo Admin', 'admin', 'admin')
;
commit;