Displaying 1 result from an estimated 1 matches for "deposit_types".
2006 Mar 19
3
Can''t add data during migration if column is called "type"
Hi
I''m new to Rails. This is my first application and I''m trying to set
up a schema I''ve hand-crafted as a migration.
Does anybody know why this...
# deposit_types
create_table :deposit_types do |table|
table.column :type_code, :string, :limit => 20, :null => false
table.column :description, :string, :limit => 50, :null => false
end
add_index :deposit_types, :type_code, :unique
add_index :deposit_types, :descript...