Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
libertree@c0unt:~/salix/libertree-db/rb$ LIBERTREE_ENV=development ./migrate.sh
NOTICE: CREATE TABLE / UNIQUE will create implicit index "schema_migrations_filename_key" for table "schema_migrations"
/home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:300:in `prepare': ERROR: prepared statement "1339103328.7813048" already exists (PGError)
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:300:in `initialize'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:64:in `new'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:64:in `new_statement'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-842eb374255f/lib/rdbi/database.rb:199:in `execute'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/bundler/gems/rdbi-driver-postgresql-4c19912b5649/lib/rdbi/driver/postgresql.rb:44:in `transaction'
from /home/libertree/.rvm/gems/ruby-1.9.3-p194@libertree-db/gems/m4dbi-0.8.0/lib/m4dbi/database.rb:62:in `transaction'
from /home/libertree/salix/libertree-db/rb/lib/libertree/db.rb:47:in `block in migrate'
from /home/libertree/salix/libertree-db/rb/lib/libertree/db.rb:44:in `each'
from /home/libertree/salix/libertree-db/rb/lib/libertree/db.rb:44:in `migrate'
from migrate.rb:3:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment