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

4th
Feb 2019
Abhinav Khare
@CosmicCoder96
Feb 04 16:03
@Anupam-dagar @mrsaicharan1 Whenever there is a database change , for instance a column is added in the database, the PR which caused the change in the server is accompanied by a migration file. You just need to run python manage.py db upgrade to fetch the latest changes in DB.
Uddeshya Singh
@uds5501
Feb 04 19:34

@mrsaicharan1 @CosmicCoder96 I had a little query regarding addition of featured events.

When we keep the database unmigrated, and create suppose two events. A and B . Now, upon migration application, the is_featured column is successfully being applied on events table. (I double checked that on psql) but now if we query any event, the command being executed is directing it to events_version table instead of events table . Any idea why is it happening?

Also, @CosmicCoder96 and the server-dev team, I sincerely apologize for incomplete testing of the migration , I assure you this will not happen again.