--角色权限值 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