gamification-server icon indicating copy to clipboard operation
gamification-server copied to clipboard

Had to add "url" column to "core_project" before paver sync would work

Open ballesandro opened this issue 10 years ago • 1 comments

I'm trying to install the gamification-server on OSX.

I ran the command paver sync and got the following error:

---> pavement.sync
python manage.py migrate core
Running migrations for core:
- Nothing to migrate.
 - Loading initial data for core.
DatabaseError: Problem installing fixture '/Users/user/workspace/gamification-server/gamification/core/fixtures/initial_data.json': Could not load core.Project(pk=3): column "url" of relation "core_project" does not exist
LINE 1: ...created_at", "name", "description", "updated_at", "url", "pr...

I altered the table with ALTER TABLE core_project ADD COLUMN url text; and ran the command again. paver sync was then successful.

ballesandro avatar Dec 03 '14 03:12 ballesandro

For some reason we had a missing migration within the app. I've added this to my fork and will look to have this added to this repository

stephenrjones avatar Dec 08 '14 14:12 stephenrjones