modify mission status from string to int
This commit is contained in:
parent
7d09de6613
commit
fd9f43d7d9
|
@ -0,0 +1,5 @@
|
|||
class ModifyMissionsStatusFromStringToInt < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :missions, :status, :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: 20161228045935) do
|
||||
ActiveRecord::Schema.define(version: 20161228052102) do
|
||||
|
||||
create_table "comments", force: :cascade do |t|
|
||||
t.text "content"
|
||||
|
@ -26,7 +26,7 @@ ActiveRecord::Schema.define(version: 20161228045935) do
|
|||
t.string "name"
|
||||
t.datetime "deadline"
|
||||
t.integer "priority"
|
||||
t.string "status"
|
||||
t.integer "status"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "content"
|
||||
|
|
Loading…
Reference in New Issue