ngageoint / gamification-server

Server to track gamification elements (badges, points, tags) to work pages or apps
MIT License
243 stars 64 forks source link

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

Open ballesandro opened 9 years ago

ballesandro commented 9 years ago

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.

stephenrjones commented 9 years ago

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