teldrive/internal/database/migrations/20240612190605_modify_session.sql
2024-06-12 13:22:38 +05:30

6 lines
222 B
SQL

-- +goose Up
-- +goose StatementBegin
truncate teldrive.sessions;
ALTER TABLE "teldrive"."sessions" DROP COLUMN IF EXISTS "auth_hash";
ALTER TABLE "teldrive"."sessions" ADD COLUMN "auth_hash" bigint;
-- +goose StatementEnd