-- Table: ow_instance_setting
CREATE TABLE [ow_instance_setting] (
    [gobject_id] int NOT NULL,
    [package_id] int NOT NULL,
    [name] nvarchar(329) NOT NULL,
    [ow_setting_type] int NOT NULL,
    [is_dmv] bit NOT NULL,
    [override_value] nvarchar(-1) NULL,
    [is_mx] bit NOT NULL,
    [is_implicit] bit NULL,
    CONSTRAINT [PK_ow_instance_setting] PRIMARY KEY ([gobject_id], [package_id], [name], [ow_setting_type], [is_dmv], [ow_setting_type])
);
GO

ALTER TABLE [ow_instance_setting] ADD FOREIGN KEY ([ow_setting_type]) REFERENCES [ow_lu_setting] ([ow_setting_type]);
GO

