mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	Merge branch 'master' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/1.6.2-postgresql
This commit is contained in:
		| @@ -4,6 +4,7 @@ DELETE FROM "system_role"; | ||||
| DELETE FROM "system_role_menu"; | ||||
| DELETE FROM "system_menu"; | ||||
| DELETE FROM "system_user_role"; | ||||
| DELETE FROM "system_user_post"; | ||||
| DELETE FROM "system_dict_type"; | ||||
| DELETE FROM "system_user_session"; | ||||
| DELETE FROM "system_post"; | ||||
|   | ||||
| @@ -148,6 +148,20 @@ CREATE TABLE IF NOT EXISTS "system_post" ( | ||||
|     PRIMARY KEY ("id") | ||||
| ) COMMENT '岗位信息表'; | ||||
|  | ||||
| CREATE TABLE IF NOT EXISTS `system_user_post`( | ||||
|     "id"          bigint    NOT NULL GENERATED BY DEFAULT AS IDENTITY, | ||||
|     "user_id"     bigint             DEFAULT NULL, | ||||
|     "post_id"     bigint             DEFAULT NULL, | ||||
|     "creator"     varchar(64)        DEFAULT '', | ||||
|     "create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||||
|     "updater"     varchar(64)        DEFAULT '', | ||||
|     "update_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||||
|     "deleted"     bit       NOT NULL DEFAULT FALSE, | ||||
|     "tenant_id"   bigint    not null default '0', | ||||
|     PRIMARY KEY (`id`) | ||||
| ) COMMENT ='用户岗位表'; | ||||
|  | ||||
|  | ||||
| CREATE TABLE IF NOT EXISTS "system_notice" ( | ||||
| 	"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY, | ||||
| 	"title" varchar(50) NOT NULL COMMENT '公告标题', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV