﻿-- Table: instance
CREATE TABLE [instance] (
    [gobject_id] int NOT NULL,
    [mx_platform_id] smallint NOT NULL DEFAULT ((0)),
    [mx_engine_id] smallint NOT NULL DEFAULT ((0)),
    [mx_object_id] smallint NOT NULL DEFAULT ((0)),
    CONSTRAINT [PK_instance] PRIMARY KEY ([gobject_id], [gobject_id])
);
GO

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

