teldrive/internal/database/migrations/20231208114142_alter.sql

6 lines
321 B
MySQL
Raw Normal View History

-- +goose Up
-- +goose StatementBegin
ALTER TABLE teldrive.files ADD COLUMN IF NOT EXISTS "encrypted" BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE teldrive.uploads ADD COLUMN IF NOT EXISTS "encrypted" BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE teldrive.uploads ADD COLUMN IF NOT EXISTS "salt" TEXT;
-- +goose StatementEnd