pgTable('tv_shows', { id: serial('id' as string).primaryKey(), name: text('name' as string) .notNull() .unique(), channelId: integer('tv_channel_id' as string).references(() => tvChannels.id),})