Skip to content

Instantly share code, notes, and snippets.

@denniskeefe
Created November 17, 2012 05:26
Show Gist options
  • Save denniskeefe/4093533 to your computer and use it in GitHub Desktop.
Save denniskeefe/4093533 to your computer and use it in GitHub Desktop.
create notes
class CreateNotes < ActiveRecord::Migration
def change
create_table :notes do |t|
t.string :title
t.text :comment
t.timestamps
end
end
end
@beverlynelson
Copy link

add the t.integer :customer_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment