open-bounty/resources/migrations/20170121175409-fix-timestam...

3 lines
251 B
MySQL
Raw Normal View History

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;