feat: Add SLD endpoints, add date_to to vector_with_kato
This commit is contained in:
12
migrations/00008_add_sld_to_datasets.sql
Normal file
12
migrations/00008_add_sld_to_datasets.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- +goose Up
|
||||
-- Optional SLD (Styled Layer Descriptor) style file for a dataset. Applies to
|
||||
-- every file_type; a dataset may have at most one (uploading again replaces
|
||||
-- it).
|
||||
ALTER TABLE datasets ADD COLUMN sld_storage_key TEXT;
|
||||
ALTER TABLE datasets ADD COLUMN sld_filename VARCHAR(255);
|
||||
ALTER TABLE datasets ADD COLUMN sld_content_type VARCHAR(255);
|
||||
|
||||
-- +goose Down
|
||||
ALTER TABLE datasets DROP COLUMN sld_storage_key;
|
||||
ALTER TABLE datasets DROP COLUMN sld_filename;
|
||||
ALTER TABLE datasets DROP COLUMN sld_content_type;
|
||||
Reference in New Issue
Block a user