What will .array() do?

export const users = pgTable('users', {
id: uuid('id').primaryKey().defaultRandom(),
fellows: uuid('fellow_ids').array(),
createdAt: timestamp('created_at').notNull().defaultNow(),
updatedAt: timestamp('updated_at').notNull().defaultNow()
})
export const users = pgTable('users', {
id: uuid('id').primaryKey().defaultRandom(),
fellows: uuid('fellow_ids').array(),
createdAt: timestamp('created_at').notNull().defaultNow(),
updatedAt: timestamp('updated_at').notNull().defaultNow()
})
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server