V7__2.0.2.sql 1.3 KB

12345678910111213141516171819202122232425
  1. INSERT INTO "public"."authority_info" ("authority_id", "parent_id", "authority_name", "en_name", "route", "component", "redirect", "icon", "order_id") VALUES (12, NULL, '材质管理', 'Material', '/Material', '#', '/Material/MaterialMange', NULL, 12);
  2. INSERT INTO "public"."authority_info" ("authority_id", "parent_id", "authority_name", "en_name", "route", "component", "redirect", "icon", "order_id") VALUES (13, 12, '材质管理', 'MaterialMange', 'MaterialMange', 'views/Material/MaterialMange', NULL, 'carbon:skill-level-advanced', 13);
  3. INSERT INTO "public"."role_authority" ("role_id", "authority_id") VALUES (1, 12);
  4. INSERT INTO "public"."role_authority" ("role_id", "authority_id") VALUES (1, 13);
  5. create table material_info
  6. (
  7. material_id SERIAL not null,
  8. material_name VARCHAR(255) null,
  9. json_path VARCHAR(255) null,
  10. material_icon VARCHAR(255) null,
  11. update_time TIMESTAMP null,
  12. constraint PK_MATERIAL_INFO primary key (material_id)
  13. );
  14. comment on table material_info is
  15. '材质信息表';
  16. comment on column material_info.material_id is
  17. '材质id';
  18. comment on column material_info.material_name is
  19. '材质名称';
  20. comment on column material_info.json_path is
  21. '材质json路径';
  22. comment on column material_info.material_icon is
  23. '材质图标';