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
{{ message }}
This repository was archived by the owner on Jun 28, 2018. It is now read-only.
Unfortunately, it seems that TRUNCATE is considered a schema change. My guess is that it drops and recreates the table behind the scenes for efficiency's sake, rather than deleting individual records. I changed that line to DELETE FROM and this error was resolved for me.
I've compiled the CLI with cockroachdb tag and run this command on CocrkoachDB v1.1:
This is the log:
2017/10/17 16:12:38 Start buffering 1/u persona
2017/10/17 16:12:38 Start buffering 2/u centros
2017/10/17 16:12:38 Start buffering 3/u conceptos
2017/10/17 16:12:38 Start buffering 4/u contratos
2017/10/17 16:12:38 Start buffering 5/u cuentas
2017/10/17 16:12:38 Start buffering 6/u sucursales
2017/10/17 16:12:38 Start buffering 7/u unicidades
2017/10/17 16:12:38 Start buffering 8/u ubicaciones
2017/10/17 16:12:38 Start buffering 9/u productos
2017/10/17 16:12:38 Start buffering 10/u skus
2017/10/17 16:12:38 Start buffering 11/u usuarios
2017/10/17 16:12:38 Start buffering 30/u ops
2017/10/17 16:12:39 error: pq: relation "schema_migrations" does not exist
Am I missing something?
The text was updated successfully, but these errors were encountered: