We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3bafb13 + e1738e3 commit 9965601Copy full SHA for 9965601
db/migrate/20170831050051_create_text_blocks.rb
@@ -3,7 +3,7 @@ def change
3
create_table :text_blocks do |t|
4
t.string :name
5
t.text :text
6
- t.references :project, index: true, foreign_key: true
+ t.references :project, index: true, foreign_key: true, type: :integer
7
8
t.timestamps null: false
9
end
0 commit comments