Skip to content

Commit 97aed7c

Browse files
author
Cristian Cotes
committed
Database sql script. Minor changes.
1 parent 3074db9 commit 97aed7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/setup_db.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ ALTER TABLE public.workspace ADD CONSTRAINT fk1_workspace FOREIGN KEY (owner_id)
9898
--
9999

100100
CREATE TABLE public.workspace_user (
101+
id uuid,
101102
workspace_id uuid NOT NULL,
102103
user_id uuid NOT NULL,
103104
workspace_name varchar(255) NOT NULL,
@@ -121,7 +122,7 @@ CREATE TABLE public.item (
121122
latest_version bigint NOT NULL,
122123
parent_id bigint,
123124
filename varchar(100) NOT NULL,
124-
mimetype varchar(45) NOT NULL,
125+
mimetype varchar(150) NOT NULL,
125126
is_folder boolean NOT NULL,
126127
client_parent_file_version bigint
127128
);

0 commit comments

Comments
 (0)