numerus/demo/demo.sql

19 lines
704 B
MySQL
Raw Normal View History

2023-01-17 21:30:01 +00:00
begin;
set search_path to auth, numerus, public;
insert into auth."user" (user_id, email, name, password, role)
values (1, 'demo@numerus', 'Demo User', 'demo', 'invoicer')
, (2, 'admin@numerus', 'Demo Admin', 'admin', 'admin')
;
insert into company (company_id, business_name, vatin, trade_name, phone, email, web, address, city, province, postal_code, country, currency_code)
values (1, 'Juli Verd', 'ES40404040D', 'Pesebre', parse_packed_phone_number('972 50 60 70', 'ES'), 'info@numerus.cat', 'https://numerus.cat/', 'C/ de lHort', 'Castelló dEmpúries', 'Alt Empordà', '17486', 'Espanya', 'EUR');
insert into company_user (company_id, user_id)
values (1, 1)
, (1, 2)
2023-01-17 21:30:01 +00:00
;
commit;