107 lines
2.7 KiB
MySQL
107 lines
2.7 KiB
MySQL
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column ContactInfo
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column ChargeManInfo
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column ContactContent
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
add IsBidirectional bit
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'是否中标', 'SCHEMA', 'dbo', 'TABLE', 'DriverSub_DriverSubContact',
|
||
|
'COLUMN', 'IsBidirectional'
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column Result
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column IntTime
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column OutTime
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column AttachUrl
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'开车分包计划主键', 'SCHEMA', 'dbo', 'TABLE',
|
||
|
'DriverSub_DriverSubContact', 'COLUMN', 'DriverSubPlanId'
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'开车联络商表主键', 'SCHEMA', 'dbo', 'TABLE',
|
||
|
'DriverSub_DriverSubContact', 'COLUMN', 'DriverSubContractorsId'
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'开车分包类别', 'SCHEMA', 'dbo', 'TABLE', 'DriverSub_DriverSubContact',
|
||
|
'COLUMN', 'SubcontractingType'
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop constraint FK_DriverSub_DriverSubContact_Base_Unit
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubContact
|
||
|
drop column SubUnitId
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSub
|
||
|
drop column Implement
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSub
|
||
|
drop column Instruction
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSub
|
||
|
drop column AttachUrl
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'开车分包计划Id', 'SCHEMA', 'dbo', 'TABLE', 'DriverSub_DriverSub',
|
||
|
'COLUMN', 'DriverSubPlanId'
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'开车分包商主键', 'SCHEMA', 'dbo', 'TABLE', 'DriverSub_DriverSub',
|
||
|
'COLUMN', 'DriverSubContractorsId'
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'评价数据', 'SCHEMA', 'dbo', 'TABLE', 'DriverSub_DriverSub', 'COLUMN',
|
||
|
'EvaluationData'
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSub
|
||
|
drop constraint FK_DriverSub_DriverSub_Base_Unit
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSub
|
||
|
drop column SubUnitId
|
||
|
go
|
||
|
exec sp_rename 'dbo.DriverSub_DriverSubPlan.DriverSubNames', SubcontractingTypes, 'COLUMN'
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'开发分包类别(多条数据用,隔开)', 'SCHEMA', 'dbo', 'TABLE',
|
||
|
'DriverSub_DriverSubPlan', 'COLUMN', 'SubcontractingTypes'
|
||
|
go
|
||
|
|
||
|
alter table dbo.DriverSub_DriverSubPlan
|
||
|
add State int
|
||
|
go
|
||
|
|
||
|
exec sp_addextendedproperty 'MS_Description', N'状态', 'SCHEMA', 'dbo', 'TABLE', 'DriverSub_DriverSubPlan', 'COLUMN',
|
||
|
'State'
|
||
|
go
|
||
|
|
||
|
|
||
|
|
||
|
|