|
--½ÇɫȨÏÞÖµ
|
|
create table tb_manager_role_value (
|
|
id int identity, --×ÔÔöID
|
|
role_id int null, --½ÇÉ«ID
|
|
channel_name nvarchar(255) null, --ƵµÀÃû³Æ
|
|
channel_id int null, --ƵµÀID
|
|
action_type nvarchar(100) null, --ȨÏÞÀàÐÍ
|
|
constraint PK_TB_MANAGER_ROLE_VALUE primary key (id)
|
|
)
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'×ÔÔöID',
|
|
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'id'
|
|
go
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'½ÇÉ«ID',
|
|
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'role_id'
|
|
go
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'ƵµÀÃû³Æ',
|
|
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'channel_name'
|
|
go
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'ƵµÀID',
|
|
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'channel_id'
|
|
go
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'ȨÏÞÀàÐÍ',
|
|
'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'action_type'
|
|
go
|