storj/storage/postgreskv/schema/2020011301_drop_not_null.up.sql
JT Olio 86093d0940 postgreskv: drop not null on buckets
Change-Id: I2a2bd7709de211a9d1808248af573f1bb630cfd5
2020-01-14 12:07:53 -07:00

3 lines
116 B
SQL

alter table pathdata alter column bucket set default '';
alter table pathdata drop constraint pathdata_bucket_fkey;