Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 564383f

Browse files
committed
Fix hex length for files table
1 parent b3597af commit 564383f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/000002_projects.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-- Store arbitrary data like project source code or avatars.
22
CREATE TABLE file (
3-
hash varchar(32) NOT NULL UNIQUE,
3+
hash varchar(64) NOT NULL UNIQUE,
44
created_at timestamptz NOT NULL,
55
created_by text NOT NULL,
66
mimetype varchar(64) NOT NULL,

0 commit comments

Comments
 (0)