﻿-- Table: galaxy
CREATE TABLE [galaxy] (
    [time_of_last_deploy] datetime NULL DEFAULT (getdate()),
    [time_of_last_config_change] datetime NULL DEFAULT (getdate()),
    [is_galaxy_installed] bit NOT NULL DEFAULT ((1)),
    [time_of_last_reference_binding] datetime NULL DEFAULT (getdate()),
    [timestamp_of_last_cascade] bigint NOT NULL DEFAULT ((1)),
    [timestamp_of_last_visual_element_reference_bind] bigint NOT NULL DEFAULT ((0)),
    [max_proxy_timestamp] bigint NOT NULL DEFAULT (CONVERT([bigint],@@dbts)),
    [max_visual_element_timestamp] bigint NOT NULL DEFAULT (CONVERT([bigint],@@dbts)),
    [is_migration_in_progress] bit NOT NULL DEFAULT ((0)),
    [time_of_last_association_change] datetime NULL DEFAULT (getdate()),
    [subscription_id] uniqueidentifier NULL,
    [batch_id] uniqueidentifier NULL,
    [iteration_id] int NOT NULL DEFAULT ((0))
);
GO

