add project_id to missions
This commit is contained in:
parent
7f03659a30
commit
7d09de6613
|
@ -0,0 +1,5 @@
|
||||||
|
class AddProjectIdToMission < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :missions, :project_id, :integer
|
||||||
|
end
|
||||||
|
end
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20161227104629) do
|
ActiveRecord::Schema.define(version: 20161228045935) do
|
||||||
|
|
||||||
create_table "comments", force: :cascade do |t|
|
create_table "comments", force: :cascade do |t|
|
||||||
t.text "content"
|
t.text "content"
|
||||||
|
@ -30,6 +30,7 @@ ActiveRecord::Schema.define(version: 20161227104629) do
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
t.string "content"
|
t.string "content"
|
||||||
|
t.integer "project_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "missions_users", id: false, force: :cascade do |t|
|
create_table "missions_users", id: false, force: :cascade do |t|
|
||||||
|
|
Loading…
Reference in New Issue