-- Table: folder_gobject_link
CREATE TABLE [folder_gobject_link] (
    [folder_id] int NOT NULL,
    [folder_type] smallint NOT NULL,
    [gobject_id] int NOT NULL,
    [timestamp_of_last_change] timestamp NOT NULL,
    CONSTRAINT [PK_folder_gobject_link] PRIMARY KEY ([folder_id], [gobject_id], [gobject_id])
);
GO

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

