Skip to content

Commit 194723c

Browse files
authored
Merge pull request #20 from gtt-project/fix/mysql-migrate
Fixed migrate error on mysql
2 parents beaaa61 + f25f483 commit 194723c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrate/20211011081244_create_custom_fields_group_fields.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class CreateCustomFieldsGroupFields < ActiveRecord::Migration[5.2]
22
def change
33
create_table :custom_fields_group_fields, id: false do |t|
44
t.references :custom_fields_group, index: true, foreign_key: true
5-
t.references :custom_field, index: { unique: true }, foreign_key: true
5+
t.references :custom_field, index: { unique: true }, foreign_key: true, type: :integer
66

77
# t.timestamps null: false
88
end

0 commit comments

Comments
 (0)