mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-08-29 05:52:08 -04:00
11 lines
273 B
SQL
11 lines
273 B
SQL
-- migrate:up
|
|
ALTER TABLE "servers"
|
|
ALTER COLUMN "last_reported_at" TYPE timestamptz
|
|
USING "last_reported_at" AT TIME ZONE 'UTC';
|
|
|
|
-- migrate:down
|
|
ALTER TABLE "servers"
|
|
ALTER COLUMN "last_reported_at" TYPE timestamp(3)
|
|
USING "last_reported_at" AT TIME ZONE 'UTC';
|
|
|