narsil/Sql/2014.12.19 Add Machine Location.sql
tanshu caf9b3106c Feature: Added Machine Locations so that setting the location in the config file is not needed.
Feature: Settings database table added to store string based settings.
         It is right now used to store bill header and footer.
         Hard Coded header/footer removed from file.
Feature: Tax Analysis form created to easily show the tax calculation.
Feature: Management form uses background workers.  Dont' know if it is functional though.
Chore: Reorder Table form moved to masters from sales folder.
Refactor: ManagementBI and SalesAnalysisBI
2016-01-04 10:52:01 +05:30

9 lines
335 B
Transact-SQL

BEGIN TRANSACTION
CREATE TABLE dbo.MachineLocations (
MachineLocationID uniqueidentifier PRIMARY KEY NOT NULL,
Machine nvarchar(50) NOT NULL,
Location nvarchar(50) NOT NULL,
CONSTRAINT IX_MachineLocations UNIQUE(Machine));
GO
INSERT INTO Auth_Roles (RoleID, Name) VALUES ('f12b573f-edcb-490d-91c3-fa76f6502ffd', 'Machines');
COMMIT