First run this Query on Postgres:
Then run this in your console:
WITH mx AS ( SELECT MAX(id) AS id FROM sch.mytable)
SELECT setval('sch.mytable_id_seq', mx.id) AS curseq
FROM mx;
Then run this in your console:
$ rake spree_auth:admin:create
?
No comments:
Post a Comment