SEO/AEO, Farb schema, breadcrumbs
This commit is contained in:
@@ -117,6 +117,7 @@ export const businesses = pgTable(
|
||||
brokerLicencing: varchar('brokerLicencing', { length: 255 }),
|
||||
internals: text('internals'),
|
||||
imageName: varchar('imageName', { length: 200 }),
|
||||
slug: varchar('slug', { length: 300 }).unique(),
|
||||
created: timestamp('created'),
|
||||
updated: timestamp('updated'),
|
||||
location: jsonb('location'),
|
||||
@@ -125,6 +126,7 @@ export const businesses = pgTable(
|
||||
locationBusinessCityStateIdx: index('idx_business_location_city_state').on(
|
||||
sql`((${table.location}->>'name')::varchar), ((${table.location}->>'state')::varchar), ((${table.location}->>'latitude')::float), ((${table.location}->>'longitude')::float)`,
|
||||
),
|
||||
slugIdx: index('idx_business_slug').on(table.slug),
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -143,6 +145,7 @@ export const commercials = pgTable(
|
||||
draft: boolean('draft'),
|
||||
imageOrder: varchar('imageOrder', { length: 200 }).array(),
|
||||
imagePath: varchar('imagePath', { length: 200 }),
|
||||
slug: varchar('slug', { length: 300 }).unique(),
|
||||
created: timestamp('created'),
|
||||
updated: timestamp('updated'),
|
||||
location: jsonb('location'),
|
||||
@@ -151,6 +154,7 @@ export const commercials = pgTable(
|
||||
locationCommercialsCityStateIdx: index('idx_commercials_location_city_state').on(
|
||||
sql`((${table.location}->>'name')::varchar), ((${table.location}->>'state')::varchar), ((${table.location}->>'latitude')::float), ((${table.location}->>'longitude')::float)`,
|
||||
),
|
||||
slugIdx: index('idx_commercials_slug').on(table.slug),
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user