mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 01:55:58 +00:00
8cb5995d5a
* Use SQL data type timestamp for users.created and repositories.updated since we want to store datetimes, not time of day * Fix :migration-dir in project file Fixes: #15
3 lines
251 B
SQL
3 lines
251 B
SQL
ALTER TABLE public.users ALTER COLUMN created SET DATA TYPE timestamp without time zone using date('20170120') + created;
|
|
ALTER TABLE public.repositories ALTER COLUMN updated SET DATA TYPE timestamp without time zone using date('20170120') + updated;
|