Add type field to port bindings table

Part of #504
This commit is contained in:
Girish Ramakrishnan
2018-08-12 22:08:19 -07:00
parent df1dc80fc1
commit 60984d18dd
6 changed files with 48 additions and 24 deletions

View File

@@ -92,6 +92,7 @@ CREATE TABLE IF NOT EXISTS apps(
CREATE TABLE IF NOT EXISTS appPortBindings(
hostPort INTEGER NOT NULL UNIQUE,
type VARCHAR(8) NOT NULL DEFAULT "tcp",
environmentVariable VARCHAR(128) NOT NULL,
appId VARCHAR(128) NOT NULL,
FOREIGN KEY(appId) REFERENCES apps(id),