From b0780b4c56f8dc0f46e08f20e992c09efaf1ad03 Mon Sep 17 00:00:00 2001 From: Komran Rashidov Date: Sat, 22 Apr 2023 00:51:53 -0600 Subject: [PATCH] fix copypasta error where the column name should be country_name --- drizzle-orm/src/pg-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drizzle-orm/src/pg-core/README.md b/drizzle-orm/src/pg-core/README.md index e5bdd2bd2..6c57adc0c 100644 --- a/drizzle-orm/src/pg-core/README.md +++ b/drizzle-orm/src/pg-core/README.md @@ -224,7 +224,7 @@ export const cities = pgTable('cities', { id: serial('id').primaryKey(), name: varchar('name', { length: 256 }), countryId: integer('country_id').references(() => countries.id), // inline foreign key - countryName: varchar('country_id'), + countryName: varchar('country_name'), sisterCityId: integer('sister_city_id').references((): AnyPgColumn => cities.id), // self-referencing foreign key }, (cities) => { return {