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

6 lines
No EOL
226 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 "session_date" integer;
-- +goose StatementEnd