barker/DB/db.cmd
tanshu 1a1fa7881d The Backend for the new narsil
Most of the things done. Need to implement a few reports and management.
Changed the method of handing the Validation Exception
2017-03-31 12:25:28 +05:30

28 lines
2.2 KiB
Batchfile

"\Program Files\PostgreSQL\9.5\bin\dropdb.exe" -U postgres petty
"\Program Files\PostgreSQL\9.5\bin\createdb.exe" -U postgres petty
..\env\Scripts\initdb.exe ..\development.ini
..\env\Scripts\fixtures.exe ..\development.ini
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < a-Roles.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < b-Permissions.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < c-RolePermissions.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < d-Users.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < e-UserRoles.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < f-Customers.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < g-FoodTables.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < h-Taxes.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < i-ProductGroups.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < j-Products.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < k-Vouchers.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < l-Voucher-Food-Table.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < m-Kots.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < n-Inventories.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < o-Modifiers.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < p-InventoryModifiers.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < q-Locations.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < r-MachineLocations.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < s-Printers.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < t-PrintLocations.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < u-ProductGroupModifiers.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < v-Reprints.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < w-Settings.sql
"\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres petty < x-VoucherSettlements.sql