init commit
This commit is contained in:
parent
93efff9452
commit
9ba1224867
307 changed files with 11053 additions and 0 deletions
12
db/migrate/20110927130352_create_notes.rb
Normal file
12
db/migrate/20110927130352_create_notes.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
class CreateNotes < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :notes do |t|
|
||||
t.string :note
|
||||
t.integer :noteable_id
|
||||
t.string :noteable_type
|
||||
t.integer :author_id
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue