-- Table: primitive_data_type
CREATE TABLE [primitive_data_type] (
    [mx_data_type] tinyint NOT NULL,
    [primitive_definition_id] int NOT NULL,
    CONSTRAINT [PK_primitive_data_type] PRIMARY KEY ([mx_data_type], [primitive_definition_id], [mx_data_type], [primitive_definition_id])
);
GO

ALTER TABLE [primitive_data_type] ADD FOREIGN KEY ([primitive_definition_id]) REFERENCES [primitive_definition] ([primitive_definition_id]);
GO

