These are chat archives for fossasia/open-event-server

10th
May 2016
Aditya Vyas
@aditya1702
May 10 2016 03:52
I am adding new columns to the user model.However i get the error that the column does not exist
I read in the docs that I have to use manage.py to handle migrations but I am getting this error : alembic.util.exc.CommandError: Target database is not up to date.
Can anyone help me please
Avi Aryan
@aviaryan
May 10 2016 07:08
@aditya1702 Were you able to generate the migration file ? python manage.py db migrate
That error comes when the database version is older than the code. Run manage.py db upgrade to upgrade the database once migration file is generated
Hope this helps
:smile:
Aditya Vyas
@aditya1702
May 10 2016 11:27
@aviaryan I generated a new migrations file :smile: ....I was not able to do so earlier. Solved the problem thanks
Avi Aryan
@aviaryan
May 10 2016 12:32
Great 😊
Aditya Vyas
@aditya1702
May 10 2016 13:13
@leto @rafalkowalski @mariobehling Written the backend code for Google Oauth 2.0 to add to our Login page. We have to integrate it with our front end though..Heres the link
aditya1702/open-event-orga-server@fd93801