Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 83f6672

Browse files
committed
ENH: refs #0377. Quota should be a varchar so it can be set to empty string
1 parent eaf2b16 commit 83f6672

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/sizequota/database/mysql/1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CREATE TABLE IF NOT EXISTS `sizequota_folderquota` (
33
`folderquota_id` bigint(20) NOT NULL AUTO_INCREMENT,
44
`folder_id` bigint(20) NOT NULL,
5-
`quota` bigint(20) NOT NULL,
5+
`quota` varchar(50) NOT NULL,
66
PRIMARY KEY (`folderquota_id`),
77
KEY `folder_id` (`folder_id`)
88
) DEFAULT CHARSET=utf8;

modules/sizequota/database/pgsql/1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ DROP TABLE IF EXISTS sizequota_folderquota;
33
CREATE TABLE sizequota_folderquota (
44
folderquota_id bigint serial PRIMARY KEY,
55
folder_id bigint NOT NULL,
6-
quota bigint NOT NULL
6+
quota character varying(50) NOT NULL
77
);
88
CREATE INDEX sizequota_folderquota_folder_id ON sizequota_folderquota (folder_id);

0 commit comments

Comments
 (0)