define controllers
This commit is contained in:
parent
ffa2fb56e1
commit
1b15e08a97
|
@ -0,0 +1,5 @@
|
|||
class AddTypeToNotes < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :notes, :type, :integer
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20161226023254) do
|
||||
ActiveRecord::Schema.define(version: 20161227104629) do
|
||||
|
||||
create_table "comments", force: :cascade do |t|
|
||||
t.text "content"
|
||||
|
@ -42,6 +42,7 @@ ActiveRecord::Schema.define(version: 20161226023254) do
|
|||
t.integer "user_id"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "type"
|
||||
end
|
||||
|
||||
add_index "notes", ["user_id"], name: "index_notes_on_user_id"
|
||||
|
|
Loading…
Reference in New Issue