mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
Change target_id to null on todos
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class ChangeTargetIdToNullOnTodos < ActiveRecord::Migration
|
||||
def change
|
||||
change_column_null :todos, :target_id, true
|
||||
end
|
||||
end
|
||||
+1
-1
@@ -867,7 +867,7 @@ ActiveRecord::Schema.define(version: 20160316204731) do
|
||||
create_table "todos", force: :cascade do |t|
|
||||
t.integer "user_id", null: false
|
||||
t.integer "project_id", null: false
|
||||
t.integer "target_id", null: false
|
||||
t.integer "target_id"
|
||||
t.string "target_type", null: false
|
||||
t.integer "author_id"
|
||||
t.integer "action", null: false
|
||||
|
||||
Reference in New Issue
Block a user