You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

  1. --ɫȨֵ
  2. create table tb_manager_role_value (
  3. id int identity, --ID
  4. role_id int null, --ɫID
  5. channel_name nvarchar(255) null, --Ƶ
  6. channel_id int null, --ƵID
  7. action_type nvarchar(100) null, --Ȩ
  8. constraint PK_TB_MANAGER_ROLE_VALUE primary key (id)
  9. )
  10. go
  11. declare @CurrentUser sysname
  12. select @CurrentUser = user_name()
  13. execute sp_addextendedproperty 'MS_Description',
  14. '����ID',
  15. 'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'id'
  16. go
  17. declare @CurrentUser sysname
  18. select @CurrentUser = user_name()
  19. execute sp_addextendedproperty 'MS_Description',
  20. '��ɫID',
  21. 'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'role_id'
  22. go
  23. declare @CurrentUser sysname
  24. select @CurrentUser = user_name()
  25. execute sp_addextendedproperty 'MS_Description',
  26. 'Ƶ������',
  27. 'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'channel_name'
  28. go
  29. declare @CurrentUser sysname
  30. select @CurrentUser = user_name()
  31. execute sp_addextendedproperty 'MS_Description',
  32. 'Ƶ��ID',
  33. 'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'channel_id'
  34. go
  35. declare @CurrentUser sysname
  36. select @CurrentUser = user_name()
  37. execute sp_addextendedproperty 'MS_Description',
  38. 'Ȩ������',
  39. 'user', @CurrentUser, 'table', 'tb_manager_role_value', 'column', 'action_type'
  40. go