add:file支持文件uuid操作

This commit is contained in:
wuy 2020-06-15 12:08:50 +08:00
parent 52905ce946
commit fbe3c40a79
5 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
CREATE TABLE upload_file ( CREATE TABLE upload_file (
uuid varchar(32) NOT NULL COMMENT '编号' primary key, uuid varchar(32) NOT NULL COMMENT '编号' primary key,
rel_obj_type varchar(50) DEFAULT NULL COMMENT '关联对象类', rel_obj_type varchar(50) DEFAULT NULL COMMENT '关联对象类',
rel_obj_id bigint DEFAULT NULL COMMENT '关联对象ID', rel_obj_id varchar(32) DEFAULT NULL COMMENT '关联对象ID',
rel_obj_field varchar(50) DEFAULT NULL COMMENT '关联对象属性名称', rel_obj_field varchar(50) DEFAULT NULL COMMENT '关联对象属性名称',
file_name varchar(100) NOT NULL COMMENT '文件名', file_name varchar(100) NOT NULL COMMENT '文件名',
storage_path varchar(200) NOT NULL COMMENT '存储路径', storage_path varchar(200) NOT NULL COMMENT '存储路径',

View File

@ -2,7 +2,7 @@
CREATE TABLE upload_file ( CREATE TABLE upload_file (
uuid varchar(32) NOT NULL COMMENT '编号' primary key, uuid varchar(32) NOT NULL COMMENT '编号' primary key,
rel_obj_type varchar(50) DEFAULT NULL COMMENT '关联对象类', rel_obj_type varchar(50) DEFAULT NULL COMMENT '关联对象类',
rel_obj_id bigint DEFAULT NULL COMMENT '关联对象ID', rel_obj_id varchar(32) DEFAULT NULL COMMENT '关联对象ID',
rel_obj_field varchar(50) DEFAULT NULL COMMENT '关联对象属性名称', rel_obj_field varchar(50) DEFAULT NULL COMMENT '关联对象属性名称',
file_name varchar(100) NOT NULL COMMENT '文件名', file_name varchar(100) NOT NULL COMMENT '文件名',
storage_path varchar(200) NOT NULL COMMENT '存储路径', storage_path varchar(200) NOT NULL COMMENT '存储路径',

View File

@ -2,7 +2,7 @@
CREATE TABLE ${SCHEMA}.upload_file ( CREATE TABLE ${SCHEMA}.upload_file (
uuid VARCHAR2(32) NOT NULL, uuid VARCHAR2(32) NOT NULL,
rel_obj_type VARCHAR2(50), rel_obj_type VARCHAR2(50),
rel_obj_id NUMBER(20), rel_obj_id VARCHAR2(32),
rel_obj_field VARCHAR2(50), rel_obj_field VARCHAR2(50),
file_name VARCHAR2(100) NOT NULL, file_name VARCHAR2(100) NOT NULL,
storage_path VARCHAR2(200) NOT NULL, storage_path VARCHAR2(200) NOT NULL,

View File

@ -2,7 +2,7 @@
CREATE TABLE upload_file ( CREATE TABLE upload_file (
uuid varchar(32) NOT NULL, uuid varchar(32) NOT NULL,
rel_obj_type varchar(50), rel_obj_type varchar(50),
rel_obj_id bigint, rel_obj_id varchar(32),
rel_obj_field varchar(50), rel_obj_field varchar(50),
file_name varchar(100) NOT NULL, file_name varchar(100) NOT NULL,
storage_path varchar(200) NOT NULL, storage_path varchar(200) NOT NULL,

View File

@ -2,7 +2,7 @@
CREATE TABLE ${SCHEMA}.upload_file ( CREATE TABLE ${SCHEMA}.upload_file (
uuid varchar(32) NOT NULL, uuid varchar(32) NOT NULL,
rel_obj_type varchar(50), rel_obj_type varchar(50),
rel_obj_id bigint, rel_obj_id varchar(32),
rel_obj_field varchar(50), rel_obj_field varchar(50),
file_name varchar(100) NOT NULL, file_name varchar(100) NOT NULL,
storage_path varchar(200) NOT NULL, storage_path varchar(200) NOT NULL,