teldrive/internal/database/migrations/20240613190605_modify_session.sql

6 lines
226 B
MySQL
Raw Normal View History

2024-06-12 15:35:09 +08:00
-- +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