|
|
- --��ɫȨ��ֵ
- 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
|