-- Table: folder
CREATE TABLE [folder] (
    [folder_id] int NOT NULL,
    [folder_type] smallint NOT NULL,
    [folder_name] nvarchar(64) NOT NULL,
    [parent_folder_id] int NOT NULL,
    [depth] int NOT NULL,
    [has_objects] bit NOT NULL,
    [has_folders] bit NOT NULL,
    [timestamp_of_last_change] timestamp NOT NULL,
    CONSTRAINT [PK_folder] PRIMARY KEY ([folder_id])
);
GO

