feat: generate invoices
All checks were successful
continuous-integration/drone/push Build is passing

closes #29
This commit is contained in:
2025-05-01 17:46:37 +01:00
parent 179d70edb0
commit 1dda3a561d
10 changed files with 421 additions and 53 deletions

View File

@ -0,0 +1,19 @@
-- Add migration script here
create table company
(
id integer unsigned not null auto_increment primary key,
created timestamp not null default current_timestamp,
name varchar(100) not null,
email varchar(100) not null,
phone varchar(100),
address_1 varchar(200),
address_2 varchar(200),
city varchar(100),
state varchar(100),
postcode varchar(50),
country_code varchar(3),
tax_id varchar(50)
);
alter table vm_host_region
add column company_id integer unsigned,
add constraint fk_host_region_company foreign key (company_id) references company (id);