Hi Dhruva and Colin,
Ran Rake again to drop and recreate the db without a specific name
reference. As before the db was created, although no errors or
protests this time. However subsequently running the migration was
deja vue.
Below is the migration code. It looks straight forward to me, but if
I knew what to look for I wouldn't be here.
Cheers, Bill
----------
class CreateIncidentUsers < ActiveRecord::Migration
def self.up
create_table :incident_user do |t|
t.column :incident_user_name, :string, :null => false
t.column :position, :string
t.column :phone, :string
t.column :email, :string, :null => false
t.column :hashed_password, :string, :null => false
t.column :salt, :string
t.column :enabled, :boolean, :default =>
true, :null => false
t.column :last_login_at, :datetime
t.timestamps
end
add_index :incident_user_name
end
def self.down
drop_table :incident_user
end
end #end migration
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---