11 lines
208 B
Ruby
11 lines
208 B
Ruby
class CreateNotes < ActiveRecord::Migration
|
|
def change
|
|
create_table :notes do |t|
|
|
t.integer :user_id
|
|
t.text :content
|
|
t.string :reason
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|