Files
isp-admin-service/migrations/20250723023639_add_last_active_at_column.sql
txix 121f63f57a
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
2025-07-25 15:09:56: merge [main:fb882e5c5c84ea63967c2aa6e330dab7a9521182];
2025-07-25 15:09:56 +03:00

8 lines
182 B
SQL

-- +goose Up
ALTER TABLE users
ADD COLUMN last_active_at TIMESTAMP DEFAULT (now() at time zone 'utc') NOT NULL;
-- +goose Down
ALTER TABLE users
DROP COLUMN last_active_at;