Created
November 17, 2012 05:26
-
-
Save denniskeefe/4093533 to your computer and use it in GitHub Desktop.
create notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreateNotes < ActiveRecord::Migration | |
def change | |
create_table :notes do |t| | |
t.string :title | |
t.text :comment | |
t.timestamps | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add the t.integer :customer_id