You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm starting a fresh new application with CockroachDB, and running the first migration it generates the error:
** (Postgrex.Error) ERROR 0A000 (feature_not_supported) at or near ",": syntax error: unimplemented: this syntax
query: CREATE TABLE IF NOT EXISTS "schema_migrations" ("version" bigint, "inserted_at" timestamp(0), PRIMARY KEY ("version"))
hint: You have attempted to use a feature that is not yet implemented.
See: https://github.com/cockroachdb/cockroach/issues/32098
at (ecto_sql) lib/ecto/adapters/sql.ex:612: Ecto.Adapters.SQL.raise_sql_call_error/1
It's an error with the timestamp precision which is not supported on CDB but last postgrex version has been tested on cockroach.
I'm using cockroachdb/cockroach:v19.2.5 (latest)
THANKS!
The text was updated successfully, but these errors were encountered:
If the query works for Postgres but not CockroachDB, then it is rather a CockroachDB issue. We will gladly accept PRs that improve the generated query, but only as long compatibility with PG is still maintained. Thanks!
I'm starting a fresh new application with CockroachDB, and running the first migration it generates the error:
at
(ecto_sql) lib/ecto/adapters/sql.ex:612: Ecto.Adapters.SQL.raise_sql_call_error/1
It's an error with the timestamp precision which is not supported on CDB but last postgrex version has been tested on cockroach.
I'm using cockroachdb/cockroach:v19.2.5 (latest)
THANKS!
The text was updated successfully, but these errors were encountered: