19 lines
704 B
PL/PgSQL
19 lines
704 B
PL/PgSQL
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 l’Hort', 'Castelló d’Empúries', 'Alt Empordà', '17486', 'Espanya', 'EUR');
|
||
|
||
insert into company_user (company_id, user_id)
|
||
values (1, 1)
|
||
, (1, 2)
|
||
;
|
||
|
||
commit;
|