numerus/demo/demo.sql

19 lines
704 B
PL/PgSQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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_code, 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', 'ES', 'EUR');
insert into company_user (company_id, user_id)
values (1, 1)
, (1, 2)
;
commit;