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

6 lines
No EOL
321 B
SQL

-- +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