mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-23 06:42:33 +03:00
783e577311
* todo * update env var * add new var to config * update GetCount (not archived threads) * wip on threads count check * feat: add get oldest updated at thread * feat: add archivation method for oldest threads * feat: add migrations for posts timefields * feat: now child posts created without updated_at * feat: add threads archivation
6 lines
121 B
SQL
6 lines
121 B
SQL
ALTER TABLE posts
|
|
ALTER COLUMN created_at TYPE timestamptz;
|
|
|
|
ALTER TABLE posts
|
|
ALTER COLUMN updated_at TYPE timestamptz;
|