Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix CockroachDB error ``` at or near "default": syntax error (PQ::PQError) from lib/pg/src/pq/connection.cr:214:7 in 'handle_error' from lib/pg/src/pq/connection.cr:197:7 in 'handle_async_frames' from lib/pg/src/pq/connection.cr:173:7 in 'read' from lib/pg/src/pq/connection.cr:168:7 in 'read' from lib/pg/src/pq/connection.cr:446:31 in 'expect_frame' from lib/pg/src/pq/connection.cr:445:5 in 'expect_frame' from lib/pg/src/pg/statement.cr:18:5 in 'perform_query' from lib/pg/src/pg/statement.cr:35:14 in 'perform_exec' from lib/db/src/db/statement.cr:85:9 in 'perform_exec_and_release' from lib/db/src/db/statement.cr:70:7 in 'exec:args' from lib/db/src/db/query_methods.cr:275:7 in 'exec' from lib/avram/src/avram/migrator/runner.cr:60:7 in 'create_db' from lib/avram/src/avram/tasks/db/create.cr:20:5 in 'run_task' from lib/avram/src/avram/tasks/db/base_task.cr:6:7 in 'call' from spec/setup/database.cr:2:3 in '__crystal_main' from /home/runner/work/_temp/crystal-1.6.0-true-undefined/share/crystal/src/crystal/main.cr:115:5 in 'main_user_code' ``` * Improve CockroachDB compatibility See <cockroachdb/cockroach#38931>. * Add `restart_identity` parameter to `#truncate`
- Loading branch information