curveball / a12n-server

An open source lightweight OAuth2 server
Apache License 2.0
453 stars 49 forks source link

user_totp: Unknown column 'user_id' in 'field list' #373

Closed trasherdk closed 2 years ago

trasherdk commented 2 years ago

fix: user_totp - change user_totp.user_totp to user_totp.user_id add flush-mysql.sh (drop all tables)

closes #372

evert commented 2 years ago

Thanks for the PR! the change looks good, but could you perhaps remove flush-mysql.sh ?

trasherdk commented 2 years ago

Yes, I can remove the script. I thought it's a handy tool during testing.

Is adding script to .gitignore, and move flush-mysql.sh in there, okay?

evert commented 2 years ago

Yes, I can remove the script. I thought it's a handy tool during testing.

Is adding script to .gitignore, and move flush-mysql.sh in there, okay?

One idea might be to just add it to a ~/.bin and add that to your PATH variable? Alternatively you can set it up as a alias in your shell, so it's available when you need it but we don't need to put something in ~/.gitignore just for you.

trasherdk commented 2 years ago

No problem. It's gone.