﻿CREATE TABLE [dbo].[TickerConfig] (
    [TickerConfigId]     INT             IDENTITY (1, 1) NOT NULL,
    [TickerId]           INT             NULL,
    [TickerConfigTypeId] TINYINT         NULL,
    [EntityId]           BIGINT          NULL,
    [MarkupPercentage]   DECIMAL (22, 8) NULL,
    [MarkupValueNonBase] DECIMAL (22, 8) NULL,
    CONSTRAINT [PK_TickerConfig] PRIMARY KEY CLUSTERED ([TickerConfigId] ASC),
    CONSTRAINT [FK_TickerConfig__TickerConfigTypes] FOREIGN KEY ([TickerConfigTypeId]) REFERENCES [dbo].[_TickerConfigTypes] ([TickerConfigTypeId])
);

