13 lines
233 B
Ruby
13 lines
233 B
Ruby
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
|