diff --git a/internal/schema/schema_test.go b/internal/schema/schema_test.go index 81d9be856..3c7c19117 100644 --- a/internal/schema/schema_test.go +++ b/internal/schema/schema_test.go @@ -130,7 +130,7 @@ func TestForeignKey(t *testing.T) { accountID: UUIDType({ foreignKey: { schema: 'Account', - column: 'ID', + column: 'id', } }), }, diff --git a/ts/src/schema/postgres_schema_live.test.ts b/ts/src/schema/postgres_schema_live.test.ts index 7e3d01e6e..237ea9274 100644 --- a/ts/src/schema/postgres_schema_live.test.ts +++ b/ts/src/schema/postgres_schema_live.test.ts @@ -60,7 +60,7 @@ const UserWithTimezoneSchema = getBuilderSchemaTZFromFields( class UserWithTimestampNoFormatSchema implements Schema { fields: FieldMap = { - ID: UUIDType({ + id: UUIDType({ primaryKey: true, defaultValueOnCreate: () => { return uuidv4();