search for: fk_comment_articl

Displaying 1 result from an estimated 1 matches for "fk_comment_articl".

Did you mean: fk_comment_articles
2006 Aug 17
0
super-newb needs help with has_many and other things...
...t.column :comment, :text, :null => false t.column :creator, :string, :null => false t.column :creationdate, :timestamp, :null => false t.column :articleid, :integer, :null => false end execute "alter table comments add constraint fk_comment_articles foreign key(articleid) references articles(id)" end def self.down drop_table :comments end end -- Posted via http://www.ruby-forum.com/.