CREATE TABLE [dbo].[CashDeposit] (
    [Id]        INT            IDENTITY (1, 1) NOT NULL,
    [ProfileId] INT            NOT NULL,
    [Amount]    FLOAT (53)     NOT NULL,
    [Date]      DATETIME       NOT NULL,
    [Comment]   NVARCHAR (MAX) NULL,
    [UserId] INT NOT NULL, 
    PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_CashDeposit_Profile] FOREIGN KEY ([ProfileId]) REFERENCES [dbo].[Profile] ([Id]), 
    CONSTRAINT [FK_CashDeposit_User] FOREIGN KEY ([UserId]) REFERENCES [User]([Id])
);


