Start work on supporting PostgreSQL
authorMarius Mathiesen <marius@gitorious.org>
Wed, 21 Nov 2012 08:36:40 +0000 (09:36 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Wed, 21 Nov 2012 08:36:40 +0000 (09:36 +0100)
commitfd1765989eeb5dac6f8a41692b692815fa0bb0c8
tree74be6e9307bd1ffc67b6796d5662d1343900346f
parentcf5f86cf3e287fce607725af105159c3109640d3
Start work on supporting PostgreSQL

- Adding pg to Gemfile
- Get rid of some Mysql-isms

There are still a few things missing, but feel free to have a look and
submit patches. In order to get started, you will need to do a
temporary change to db/schema.rb: rename any indexes that have a name
with > 60 characters.
Gemfile
Gemfile.lock
app/models/favorite.rb
app/models/user.rb
lib/gitorious/user_administration.rb
test/unit/lib/gitorious/user_administration_test.rb
test/unit/repository_test.rb
test/unit/user_test.rb