appAddonConfigs: change value to TEXT

since the value is used directly as an environment variable, we have to
allow up to max env var size (32767). Use TEXT which has a size of 64k
This commit is contained in:
Girish Ramakrishnan
2021-08-09 13:40:23 -07:00
parent 1a1f40988e
commit 449220eca1
2 changed files with 16 additions and 1 deletions

View File

@@ -117,7 +117,7 @@ CREATE TABLE IF NOT EXISTS appAddonConfigs(
appId VARCHAR(128) NOT NULL,
addonId VARCHAR(32) NOT NULL,
name VARCHAR(128) NOT NULL,
value VARCHAR(512) NOT NULL,
value TEXT NOT NULL,
FOREIGN KEY(appId) REFERENCES apps(id));
CREATE TABLE IF NOT EXISTS appEnvVars(