-- Table: autobind_device
CREATE TABLE [autobind_device] (
    [dio_id] int NOT NULL,
    [overridden_naming_rule_id] int NULL,
    CONSTRAINT [PK_autobind_device] PRIMARY KEY ([dio_id], [overridden_naming_rule_id], [dio_id])
);
GO

ALTER TABLE [autobind_device] ADD FOREIGN KEY ([dio_id]) REFERENCES [gobject] ([gobject_id]);
GO

