Skip to content
Snippets Groups Projects
Commit f98cc439 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Added 'base_url' column + set default NULL for 'base_path' column.

parent cfce03b2
No related branches found
No related tags found
No related merge requests found
Pipeline #1146 passed
...@@ -37,7 +37,8 @@ CREATE TYPE StorageType AS ENUM ('cold', 'hot', 'local', 'portal'); ...@@ -37,7 +37,8 @@ CREATE TYPE StorageType AS ENUM ('cold', 'hot', 'local', 'portal');
CREATE TABLE storage ( CREATE TABLE storage (
storage_id SMALLSERIAL NOT NULL, storage_id SMALLSERIAL NOT NULL,
storage_type StorageType NOT NULL, storage_type StorageType NOT NULL,
base_path VARCHAR NOT NULL, base_path VARCHAR default NULL,
base_url VARCHAR default NULL,
hostname VARCHAR NOT NULL, hostname VARCHAR NOT NULL,
PRIMARY KEY (storage_id) PRIMARY KEY (storage_id)
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment