﻿CREATE TABLE [dbo].[Exchanges] (
    [ExchangeId]   SMALLINT      NOT NULL,
    [ExchangeName] VARCHAR (100) NULL,
    [ProviderId]   TINYINT       NULL,
    [UserId]       BIGINT        NULL,
    [IsActive]     BIT           CONSTRAINT [DF_Exchanges_IsActvie] DEFAULT ((0)) NULL,
    CONSTRAINT [PK_Exchanges] PRIMARY KEY CLUSTERED ([ExchangeId] ASC)
);