Add the SQL for the demo
This commit is contained in:
parent
d434d040af
commit
c369364642
|
@ -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.
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
demo/demo.sql usr/share/numerus
|
|
@ -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;
|
Loading…
Reference in New Issue