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 0e94a7d commit ddf3fe0Copy full SHA for ddf3fe0
test/active_record_doctor/detectors/missing_foreign_keys_test.rb
@@ -49,7 +49,7 @@ def test_missing_foreign_key_without_belongs_to_is_not_reported
49
def test_uuid_missing_foreign_key_is_reported
50
require_uuid_column_type!
51
52
- Context.create_table(:companies) do |t|
+ Context.create_table(:companies, { id: false }) do |t|
53
t.uuid :id, default: "gen_random_uuid()"
54
end
55
Context.create_table(:users) do |t|
0 commit comments