We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6414bed commitb30bf8bCopy full SHA for b30bf8b
test/migration_generator_test.exs
@@ -101,7 +101,7 @@ defmodule AshPostgres.MigrationGeneratorTest do
101
assert[file]=Path.wildcard("test_migration_path/**/*_migrate_resources*.exs")
102
103
assertFile.read!(file)=~
104
-~S[add :id, :binary_id, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
+~S[add :id, :uuid, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
105
end
106
107
test"the migration adds other attributes"do
@@ -311,7 +311,7 @@ defmodule AshPostgres.MigrationGeneratorTest do
311
Enum.sort(Path.wildcard("test_migration_path/**/*_migrate_resources*.exs"))
312
313
assertFile.read!(file2)=~
314
-~S[add :guid, :binary_id, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
+~S[add :guid, :uuid, null: false, default: fragment("uuid_generate_v4()"), primary_key: true]
315
316
317
test"when multiple schemas apply to the same table, all attributes are added"do