Fix schema for members
While working on another branch I noticed that this `resource_id` was set to a string. I ran all the tests for sqlite, mysql, and postgres and none failed so I think this is an oversight. As far as I can tell this was supposed to be an integer.
This commit is contained in:
parent
5e300f1121
commit
8da6ba9cae
|
@ -220,7 +220,7 @@ ActiveRecord::Schema.define do
|
|||
t.integer :children_count, default: 0
|
||||
t.integer :parent_id
|
||||
t.references :author, polymorphic: true
|
||||
t.string :resource_id
|
||||
t.integer :resource_id
|
||||
t.string :resource_type
|
||||
t.integer :developer_id
|
||||
t.datetime :updated_at
|
||||
|
|
Loading…
Reference in New Issue