diff --git a/debian/control b/debian/control index 48a7171..474b265 100644 --- a/debian/control +++ b/debian/control @@ -46,3 +46,14 @@ Description: Simple invoicing and accounting web application contractors working in Spain. . 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. diff --git a/debian/numerus-demo.install b/debian/numerus-demo.install new file mode 100644 index 0000000..e6330c7 --- /dev/null +++ b/debian/numerus-demo.install @@ -0,0 +1 @@ +demo/demo.sql usr/share/numerus diff --git a/demo/demo.sql b/demo/demo.sql new file mode 100644 index 0000000..8aa58b8 --- /dev/null +++ b/demo/demo.sql @@ -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;