Skip to content

Instantly share code, notes, and snippets.

@Signum
Created February 26, 2013 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Signum/5042709 to your computer and use it in GitHub Desktop.
Save Signum/5042709 to your computer and use it in GitHub Desktop.
First migration with different table name
class CreateMailusers < ActiveRecord::Migration
def change
create_table :virtual_users do |t|
t.string :email
t.string :password
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment