Skip to content

Commit 9965601

Browse files
authored
Merge pull request #28 from gtt-project/fix/mysql-migrate
Fixed migrate error on mysql
2 parents 3bafb13 + e1738e3 commit 9965601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrate/20170831050051_create_text_blocks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def change
33
create_table :text_blocks do |t|
44
t.string :name
55
t.text :text
6-
t.references :project, index: true, foreign_key: true
6+
t.references :project, index: true, foreign_key: true, type: :integer
77

88
t.timestamps null: false
99
end

0 commit comments

Comments
 (0)