add project_id to share
This commit is contained in:
parent
9ef1bca10b
commit
9cbabcce84
|
@ -0,0 +1,5 @@
|
|||
class AddProjectIdToShare < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :shares, :project_id, :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: 20161228062119) do
|
||||
ActiveRecord::Schema.define(version: 20161228071235) do
|
||||
|
||||
create_table "comments", force: :cascade do |t|
|
||||
t.text "content"
|
||||
|
@ -65,6 +65,7 @@ ActiveRecord::Schema.define(version: 20161228062119) do
|
|||
t.string "content"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "project_id"
|
||||
end
|
||||
|
||||
create_table "users", force: :cascade do |t|
|
||||
|
|
Loading…
Reference in New Issue