CREATE TABLE [hrsa_insurance_base_history] (

[id] bigint NOT NULL,

[employee_id] bigint NOT NULL,

[payment_organization] int NOT NULL,

[welfare_type] int NOT NULL,

[adjust_before_scheme_id] int NULL,

[adjust_after_scheme_id] int NULL,

[adjust_before_base_value] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,

[adjust_after_base_value] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,

[adjust_welfare_item_id] bigint NOT NULL,

[operator] bigint NOT NULL,

[operate_time] datetime NULL,

[create_time] datetime NOT NULL,

[update_time] datetime NOT NULL,

[creator] bigint NOT NULL,

[delete_type] int NOT NULL,

[tenant_key] varchar(10) COLLATE Chinese_PRC_CI_AS NULL,

PRIMARY KEY ([id]) 

)

GO