I got the app running locally on SQLite3, but when I run ">heroku rake
db:Migrate" I see this error from Postgres (the DB used on Heroku)
new-host:wurmi-guild owendall$ heroku rake db:migrate
rake aborted!
An error has occurred, this and all later migrations canceled:
PGError: ERROR: current transaction is aborted, commands ignored
until end of transaction block
: CREATE INDEX "index_chars_on_owner_id" ON "chars" ("owner_id")
(See full trace by running task with --trace)
(in /disk1/home/slugs/187306_4653f03_c2e7/mnt)
== HoboMigration1: migrating
=================================================
-- create_table(:users)
-> 0.0208s
-- add_index(:users, [:state])
-> 0.0119s
-- create_table(:chars)
-> 0.0117s
== HoboMigration1: migrated (0.0447s)
========================================
== HoboMigration2: migrating
=================================================
-- add_column(:chars, :server, :string)
-> 0.0023s
-- add_column(:chars, :guild, :string)
-> 0.0022s
-- add_column(:chars, :fraction, :string)
-> 0.0023s
-- add_column(:chars, :dclass, :string)
-> 0.0021s
-- add_column(:chars, :race, :string)
-> 0.0022s
-- add_column(:chars, :likings, :string)
-> 0.0022s
-- add_column(:chars, :user_id, :integer)
-> 0.0023s
-- remove_column(:chars, :wclass)
-> 0.0023s
-- remove_column(:chars, :wfraction)
-> 0.0021s
-- remove_column(:chars, :orientation)
-> 0.0021s
-- remove_column(:chars, :wrace)
-> 0.0021s
-- add_index(:chars, [:user_id])
-> 0.0049s
== HoboMigration2: migrated (0.0301s)
========================================
== HoboMigration3: migrating
=================================================
-- add_column(:chars, :owner_id, :integer)
-> 0.0024s
-- remove_column(:chars, :user_id)
-> 0.0028s
-- remove_index(:chars, {:name=>:index_chars_on_user_id})
-- add_index(:chars, [:owner_id])
new-host:wurmi-guild owendall$
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.