diff --git a/migrations/20160205135326-apps-add-memoryLimit.js b/migrations/20160205135326-apps-add-memoryLimit.js index ffc1452e8..0652cf58d 100644 --- a/migrations/20160205135326-apps-add-memoryLimit.js +++ b/migrations/20160205135326-apps-add-memoryLimit.js @@ -1,7 +1,7 @@ dbm = dbm || require('db-migrate'); exports.up = function(db, callback) { - db.runSql('ALTER TABLE apps ADD COLUMN memoryLimit INTEGER DEFAULT 0', function (error) { + db.runSql('ALTER TABLE apps ADD COLUMN memoryLimit BIGINT DEFAULT 0', function (error) { if (error) console.error(error); callback(error); }); diff --git a/migrations/schema.sql b/migrations/schema.sql index 80d0462e2..74c318036 100644 --- a/migrations/schema.sql +++ b/migrations/schema.sql @@ -64,7 +64,7 @@ CREATE TABLE IF NOT EXISTS apps( accessRestrictionJson TEXT, oauthProxy BOOLEAN DEFAULT 0, createdAt TIMESTAMP(2) NOT NULL DEFAULT CURRENT_TIMESTAMP, - memoryLimit INTEGER DEFAULT 0, + memoryLimit BIGINT DEFAULT 0, lastBackupId VARCHAR(128), lastBackupConfigJson TEXT, // used for appstore and non-appstore installs. it's here so it's easy to do REST validation