Skip to content

Instantly share code, notes, and snippets.

@zsan
Created December 17, 2014 16:11
Show Gist options
  • Save zsan/18edaa9c8c8f1e330951 to your computer and use it in GitHub Desktop.
Save zsan/18edaa9c8c8f1e330951 to your computer and use it in GitHub Desktop.
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :name
t.string :email
t.timestamps null: false
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment