Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. ActiveRecord::JDBCError: org.postgresql.util.PSQLException: ERROR: column "read_only" cannot be cast automatically to type boolean
  2. Hint: Specify a USING expression to perform the conversion.: ALTER TABLE "classifications" ALTER COLUMN "read_only" TYPE booleanarjdbc/jdbc/RubyJdbcConnection.java:547:in `execute'
  3. /Users/dberger/Repositories/manageiq-djberg96/vmdb/db/migrate/20101216235159_fix_boolean_columns_in_classifications.rb:21:in `up'
  4. ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: org.postgresql.util.PSQLException: ERROR: column "read_only" cannot be cast automatically to type boolean
  5. Hint: Specify a USING expression to perform the conversion.: ALTER TABLE "classifications" ALTER COLUMN "read_only" TYPE boolean
  6. arjdbc/jdbc/RubyJdbcConnection.java:547:in `execute'
  7. /Users/dberger/Repositories/manageiq-djberg96/vmdb/db/migrate/20101216235159_fix_boolean_columns_in_classifications.rb:21:in `up'
  8. ActiveRecord::JDBCError: org.postgresql.util.PSQLException: ERROR: column "read_only" cannot be cast automatically to type boolean
  9. Hint: Specify a USING expression to perform the conversion.
  10. arjdbc/jdbc/RubyJdbcConnection.java:547:in `execute'
  11. /Users/dberger/Repositories/manageiq-djberg96/vmdb/db/migrate/20101216235159_fix_boolean_columns_in_classifications.rb:21:in `up'
  12. Tasks: TOP => evm:db:reset => db:migrate
  13. (See full trace by running task with --trace)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement