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.
1 parent 3bafb13 commit e1738e3Copy full SHA for e1738e3
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