diff --git a/database/2.3.1_to_2.3.2.sql b/database/2.3.1_to_2.3.2.sql index dc69da744..3238bc968 100644 --- a/database/2.3.1_to_2.3.2.sql +++ b/database/2.3.1_to_2.3.2.sql @@ -4,6 +4,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES ('barcode_second_row', 'item_code'), ('barcode_third_row', 'cost_price'), ('barcode_num_in_row', '2'), +('barcode_font', 'Arial'), +('barcode_font_size', '10'), +('barcode_height', '50'), +('barcode_quality', '100'), +('barcode_type', 'Code39'), +('barcode_width', '250'), ('company_logo', ''), ('barcode_page_width', '100'), ('barcode_page_cellspacing', '20'), diff --git a/database/2.3_to_2.3.1.sql b/database/2.3_to_2.3.1.sql index aacce5251..cbfb59b92 100644 --- a/database/2.3_to_2.3.1.sql +++ b/database/2.3_to_2.3.1.sql @@ -105,6 +105,9 @@ ALTER TABLE `ospos_items` ADD COLUMN `receiving_quantity` int(11) DEFAULT '1', DROP COLUMN `quantity`; +-- add record_time column to ospos_giftcards table +ALTER TABLE ospos_giftcards ADD record_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP; + -- add foreign key to giftcards table ALTER TABLE `ospos_giftcards` ADD CONSTRAINT `ospos_giftcards_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `ospos_people` (`person_id`);