gobuffalo / buffalo-auth

Buffalo auth plugin helps adding username password authentication to your app
https://gobuffalo.io
MIT License
41 stars 28 forks source link

Error running buffalo-auth migration #28

Closed imorti closed 5 years ago

imorti commented 5 years ago

Ran:

  1. buffalo g auth
  2. soda migrate up
  3. Error: problem inserting migration version 1544231959969299000: Error 1406: Data too long for column 'version' at row 1

User table is created. Register/Login works.

imorti commented 5 years ago

this is also true for postgres (I was using mysql)

Error: problem inserting migration version 1544300151095705000: pq: value too long for type character varying(14)
stanislas-m commented 5 years ago

It seems the migration version format changed, but this generator wasn't updated since then.

Can you open a PR to fix buffalo-auth and use the same format as in pop?

Thanks!

Stanislas MICHALAK

Le sam. 8 déc. 2018 à 21:16, Ian Mortimer notifications@github.com a écrit :

this is also true for postgres (I was using mysql)

Error: problem inserting migration version 1544300151095705000: pq: value too long for type character varying(14)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gobuffalo/buffalo/issues/1496#issuecomment-445486794, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0r-0eKpoKOfnKqQuJ41qp1RnWSUTOIks5u3B4qgaJpZM4ZJYzw .

imorti commented 5 years ago

PR submitted.