harbor/tools/migration/db
wangyan 22411cf6b2 Fix pgsql creation column bug
Root cause: Use default 'now'::timestamp will not generate timestamp for each transaction,
PG will convert now to a timestamp as soon as the constant is parsed. To fix it, update it
to defult CURRENT_TIMESTAMP, thie setting is the same as default now(), which returns the
start time of current transaction because ther are fuction calls, hey will give the desired
behavior of defaulting to the time of row insertion.

Reference: https://www.postgresql.org/docs/9.6/static/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT
PG version: 9.6.9
2018-07-30 04:58:44 -07:00
..
alembic Update migrator for support new table admin_job 2018-07-24 20:29:56 -07:00
schema Fix pgsql creation column bug 2018-07-30 04:58:44 -07:00
tools enable migrator to support 1.5.0 migration from mysql to pgsql (#5029) 2018-06-01 14:58:43 +08:00
util Update migrator to 1 6 0 2018-07-02 21:23:47 +08:00
changelog.md Soft delete label 2018-06-07 17:14:12 +08:00
my.cnf enable migrator to support 1.5.0 migration from mysql to pgsql (#5029) 2018-06-01 14:58:43 +08:00
run.sh Update migrator to 1 6 0 2018-07-02 21:23:47 +08:00