Skip to content

Instantly share code, notes, and snippets.

@makefunstuff
Created March 16, 2017 15:57
Show Gist options
  • Save makefunstuff/b714c03a52071bc28836f6f74f63a16b to your computer and use it in GitHub Desktop.
Save makefunstuff/b714c03a52071bc28836f6f74f63a16b to your computer and use it in GitHub Desktop.
class CreateUpdates < ActiveRecord::Migration[5.0]
def change
create_table :updates do |t|
t.integer :user_id
t.integer :mood
t.text :message
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment