export const profiles = pgTable(
"profiles",
{
id: serial("id").primaryKey(),
created: timestamp("created"),
accountId: varchar("accountId", { length: 256 }),
athena: jsonb("athena"),
campaign: jsonb("campaign"),
collectionBookPeople: jsonb("collection_book_people"),
collectionBookSchematics: jsonb("collection_book_schematics"),
collections: jsonb("collections"),
commonCore: jsonb("common_core"),
commonPublic: jsonb("common_public"),
creative: jsonb("creative"),
metadata: jsonb("metadata"),
outpost: jsonb("outpost"),
profilezero: jsonb("profilezero"),
theater: jsonb("theater"),
},
(table) => {
return {
accountIdIdx: index("account_id_idx").on(table.accountId),
};
},
);
export const profiles = pgTable(
"profiles",
{
id: serial("id").primaryKey(),
created: timestamp("created"),
accountId: varchar("accountId", { length: 256 }),
athena: jsonb("athena"),
campaign: jsonb("campaign"),
collectionBookPeople: jsonb("collection_book_people"),
collectionBookSchematics: jsonb("collection_book_schematics"),
collections: jsonb("collections"),
commonCore: jsonb("common_core"),
commonPublic: jsonb("common_public"),
creative: jsonb("creative"),
metadata: jsonb("metadata"),
outpost: jsonb("outpost"),
profilezero: jsonb("profilezero"),
theater: jsonb("theater"),
},
(table) => {
return {
accountIdIdx: index("account_id_idx").on(table.accountId),
};
},
);