Skip to content

Instantly share code, notes, and snippets.

@benhickson
Last active April 20, 2020 16:55
Show Gist options
  • Save benhickson/572dd12cb9b3bd9fe339e3fc357e9247 to your computer and use it in GitHub Desktop.
Save benhickson/572dd12cb9b3bd9fe339e3fc357e9247 to your computer and use it in GitHub Desktop.
class CreateUsers < ActiveRecord::Migration[6.0]
def change
create_table :users do |t|
t.string :email
t.string :display_name
t.string :password_digest
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment