mirror of https://github.com/sipwise/db-schema.git
For each possible storage location, adds a bool flag to indicate whether the media file is expected to be there. For S3 and GCS, additionally add a field to store the URI to access the media. Change-Id: I7ad44275b8ffcfc0202968fcf9ad4cd883b07228master
parent
e18c11186d
commit
ce13242550
@ -0,0 +1,9 @@
|
||||
use provisioning;
|
||||
|
||||
alter table recording_streams
|
||||
drop column storage_file,
|
||||
drop column storage_db,
|
||||
drop column storage_s3,
|
||||
drop column storage_gcs,
|
||||
drop column s3_uri,
|
||||
drop column gcs_uri;
|
||||
@ -0,0 +1,9 @@
|
||||
use provisioning;
|
||||
|
||||
alter table recording_streams
|
||||
add column storage_file tinyint(1) not null default 1,
|
||||
add column storage_db tinyint(1) not null default 0,
|
||||
add column storage_s3 tinyint(1) not null default 0,
|
||||
add column storage_gcs tinyint(1) not null default 0,
|
||||
add column s3_uri varchar(255) not null default '',
|
||||
add column gcs_uri varchar(255) not null default '';
|
||||
Loading…
Reference in new issue