Revert "changed file.url column type from varcahr(255) to varchar(2047)"
This reverts commit c1b19929f6
.
This commit is contained in:
parent
bbf10e5bdf
commit
f2cd83dd51
@ -17,7 +17,7 @@ alter table user_group
|
|||||||
|
|
||||||
create table file (
|
create table file (
|
||||||
id integer primary key auto_increment,
|
id integer primary key auto_increment,
|
||||||
url varchar(2047) comment 'destination URL after following redirections',
|
url varchar(255) comment 'destination URL after following redirections',
|
||||||
mimetype varchar(50) comment 'mime type of resource',
|
mimetype varchar(50) comment 'mime type of resource',
|
||||||
size integer comment 'size of resource when available',
|
size integer comment 'size of resource when available',
|
||||||
title varchar(255) comment 'title of resource when available',
|
title varchar(255) comment 'title of resource when available',
|
||||||
|
@ -36,7 +36,7 @@ alter table user_group
|
|||||||
create sequence file_seq;
|
create sequence file_seq;
|
||||||
create table file (
|
create table file (
|
||||||
id bigint default nextval('file_seq') primary key /* comment 'unique identifier' */,
|
id bigint default nextval('file_seq') primary key /* comment 'unique identifier' */,
|
||||||
url varchar(2047) unique,
|
url varchar(255) unique,
|
||||||
mimetype varchar(50),
|
mimetype varchar(50),
|
||||||
size integer,
|
size integer,
|
||||||
title varchar(255),
|
title varchar(255),
|
||||||
|
@ -433,7 +433,7 @@ create table group_inbox (
|
|||||||
create table file (
|
create table file (
|
||||||
|
|
||||||
id integer primary key auto_increment,
|
id integer primary key auto_increment,
|
||||||
url varchar(2047) comment 'destination URL after following redirections',
|
url varchar(255) comment 'destination URL after following redirections',
|
||||||
mimetype varchar(50) comment 'mime type of resource',
|
mimetype varchar(50) comment 'mime type of resource',
|
||||||
size integer comment 'size of resource when available',
|
size integer comment 'size of resource when available',
|
||||||
title varchar(255) comment 'title of resource when available',
|
title varchar(255) comment 'title of resource when available',
|
||||||
|
@ -450,7 +450,7 @@ create index group_inbox_created_idx on group_inbox using btree(created);
|
|||||||
create sequence file_seq;
|
create sequence file_seq;
|
||||||
create table file (
|
create table file (
|
||||||
id bigint default nextval('file_seq') primary key /* comment 'unique identifier' */,
|
id bigint default nextval('file_seq') primary key /* comment 'unique identifier' */,
|
||||||
url varchar(2047) unique,
|
url varchar(255) unique,
|
||||||
mimetype varchar(50),
|
mimetype varchar(50),
|
||||||
size integer,
|
size integer,
|
||||||
title varchar(255),
|
title varchar(255),
|
||||||
|
Loading…
Reference in New Issue
Block a user