$ typeorm migration:run
Error during migration run:
InvalidData: data did not match any variant of untagged enum ArgsEnum
at unwrapResponse ($deno$/ops/dispatch_json.ts:42:11)
at Object.sendAsync ($deno$/ops/dispatch_json.ts:93:10)
at async Object.connect ($deno$/net.ts:183:11)
at async Connection.startup (connection.ts:138:17)
at async Pool._createConnection (pool.ts:32:5)
at async pool.ts:61:7
at async Promise.all (index 0)
at async Pool._startup (pool.ts:63:25)
at async Pool.connect (pool.ts:85:5)
at async PostgresDriver.createPool (PostgresDriver.ts:944:28)
$ typeorm migration:show
# Same error
$ typeorm cache:clear
# Same error
Now, try changing TYPEORM_CONNECTION to sqlite and run typeorm migration:run again. There'd be no error, with a sqlite db file created.
Issue type:
[ ] question [x] bug report [ ] feature request [ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]mongodb
[ ]mssql
[ ]mysql
/mariadb
[ ]oracle
[x]postgres
[ ]cockroachdb
[ ]sqlite
[ ]sqljs
[ ]react-native
[ ]expo
TypeORM version:
[ ]
latest
[ ]@next
[x]0.2.23-rc5
(or put your version here)Steps to reproduce or a small repository showing the problem:
TYPEORM_CONNECTION
tosqlite
and runtypeorm migration:run
again. There'd be no error, with a sqlite db file created.