This project is archived and is in readonly mode.
Can't use :references in add_column
-
Darragh Curran
- Tag cleared.
What you think about change_table?
change_table :users do |t|
t.references :addressable, :polymorphic => true
end
calling add column with expectation of having two columns sounds wrong to me - whereas using change table you get the same syntax you would have with create table
-
josh
- State changed from new to wontfix