forked from emaijala/MLInvoice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate_database_1.3_to_1.4.sql
More file actions
15 lines (11 loc) · 1008 Bytes
/
update_database_1.3_to_1.4.sql
File metadata and controls
15 lines (11 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
INSERT INTO vllasku_session_type (name, order_no, time_out, access_level) VALUES ('Vain katselu', 0, 3600, 0);
ALTER TABLE vllasku_product CHANGE COLUMN description description VARCHAR(255);
alter table vllasku_base add column (
org_unit_number varchar(35) default NULL
);
alter table vllasku_company add column (
org_unit_number varchar(35) default NULL
);
INSERT INTO vllasku_print_template (name, filename, parameters, output_filename, type, order_no, inactive) VALUES ('Finvoice', 'invoice_printer_finvoice.php', '', 'finvoice_%d.xml', 'invoice', 40, 1);
INSERT INTO vllasku_print_template (name, filename, parameters, output_filename, type, order_no, inactive) VALUES ('Finvoice Styled', 'invoice_printer_finvoice.php', 'Finvoice.xsl', 'finvoice_%d.xml', 'invoice', 50, 1);
INSERT INTO vllasku_print_template (name, filename, parameters, output_filename, type, order_no, inactive) VALUES ('Lasku virtuaaliviivakoodilla', 'invoice_printer.php', 'invoice,fi,Y', 'lasku_%d.pdf', 'invoice', 60, 1);