On Monday, September 10, 2012 5:43:17 AM UTC-7, desbest wrote:
>
> I'm using the Ramaze framework, and I have a migrations file.
> Here's what I have in it.
>
> create_table(:debates) do
>       primary_key :id
>       *add_foreign_key :user_id, :users*
>       String :question, :null => false
>       String :assertion, :null => false
>       String :type, :null => false
>       String :category, :null => false
>       Integer :views,  :default=>0
>       
>       String :datenumber, :null => false
>       String :datetimenumber, :null => false
>     end 
>
> I got that from the Sequel documentation associations 
> page<http://sequel.rubyforge.org/rdoc/files/doc/association_basics_rdoc.html>
> .
>
> I get this error in the console
>
> C:/mowes/ruby/lib/ruby/gems/1.9.1/gems/sequel-3.36.1/lib/sequel/database/schema_generator.rb:104:in
>  
>> `merge': can't convert Symbol into Hash (TypeError)
>
>
> I'm using *sqlite*. 
>

You need to provide the full backtrace.  If you are running the migrations 
with bin/sequel, use -t to output the full backtrace.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/EligNLTA068J.
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/sequel-talk?hl=en.

Reply via email to