storj/storage/postgreskv/schema/2020011301_drop_not_null.down.sql

3 lines
167 B
MySQL
Raw Normal View History

alter table pathdata alter column bucket drop default;
alter table pathdata add constraint "pathdata_bucket_fkey" FOREIGN KEY (bucket) REFERENCES buckets(bucketname);