-- Table: user_preferences
CREATE TABLE [user_preferences] (
    [user_preferences_id] int NOT NULL,
    [user_profile_id] int NOT NULL,
    [preference_type] nvarchar(256) NOT NULL,
    [preferences] image(2147483647) NULL,
    CONSTRAINT [PK_user_preferences] PRIMARY KEY ([user_preferences_id], [user_profile_id])
);
GO

ALTER TABLE [user_preferences] ADD FOREIGN KEY ([user_profile_id]) REFERENCES [user_profile] ([user_profile_id]);
GO

