Use ubuntu trusty for Docker container + add startup scripts (#284)

Add Grunt concatenate for sql scripts (migrate + db init) (#289)
This commit is contained in:
jekkos
2016-01-20 18:47:44 +01:00
parent b5cc1542b6
commit 2b70762b7a
9 changed files with 2146 additions and 25 deletions

View File

@@ -2,8 +2,6 @@
-- This migration script should be run after creating tables with the regular database script and before applying the constraints.
--
SOURCE tables.sql;
--
-- Dumping data for table `ospos_customers`
--
@@ -111,4 +109,3 @@ INSERT INTO `ospos_item_quantities` (`item_id`, `location_id`, `quantity`) SELE
INSERT INTO `ospos_suppliers` (`person_id`, `company_name`, `account_number`, `deleted`) SELECT `person_id`, `company_name`, `account_number`, `deleted` FROM `phppos`.phppos_suppliers;
-- Add constraints on copied data
SOURCE constraints.sql;