jsonb
required
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Complete database schema reference for Concordia
src/database/schemas/. Each schema file represents a logical grouping of related tables.
// Main schema export file
export * from './schemas/auth-schema';
export * from './schemas/audit-log.schema';
export * from './schemas/profile.schema';
export * from "./schemas/blog_posts.schema";
export * from "./schemas/blog_authors.schema";
export * from "./schemas/blog_categories.schema";
// ... more exports
session_userId_idx on userIdaccount_userId_idx on userIdverification_identifier_idx on identifierorganization_slug_uidx unique index on slugmember_organizationId_idx on organizationIdmember_userId_idx on userIdinvitation_organizationId_idx on organizationIdinvitation_email_idx on emailidx_blog_posts_slug unique on slugidx_blog_posts_status on statusidx_blog_posts_published_at on publishedAtidx_blog_posts_home on displayInHomeidx_blog_posts_featured on isFeaturedidx_blog_post_authors_post on postIdidx_blog_post_authors_author on authorIdidx_blog_post_categories_post on postIdidx_blog_post_categories_category on categoryIdidx_blog_post_media_post on postIdidx_blog_post_media_media on mediaIdidx_blog_authors_slug unique on slugidx_blog_authors_home on displayInHomeidx_blog_authors_featured on isFeaturedidx_blog_authors_email on emailidx_blog_categories_slug unique on slugidx_blog_categories_parent on parentIdidx_blog_categories_home on displayInHomeidx_blog_categories_featured on isFeaturedidx_blog_comments_entity on postIdidx_blog_comments_type on postTypeidx_blog_comments_status on statusidx_blog_comments_parent on parentIdidx_blog_media_type on typeidx_blog_media_url on urlidx_blog_translations_post on postIdidx_blog_translations_language on inLanguageShow Identity Fields
Show Contact Information
Show Legal & Identifiers
Show People & Structure
Show Editorial Policies (NewsMediaOrganization)
idx_services_listings_slug unique on slugidx_services_listings_status on statusidx_services_listings_category on categoryIdidx_services_listings_provider on providerIdidx_services_listings_org on organizationIdidx_services_listings_featured on isFeaturedidx_services_listings_home on displayInHomeidx_services_listings_active on isActiveidx_services_media_links_service on serviceIdidx_services_media_links_media on mediaIdidx_services_categories_slug unique on slugidx_services_categories_parent on parentIdidx_services_categories_sort on sortOrderidx_services_categories_active on isActiveidx_services_reviews_service on serviceIdidx_services_reviews_status on statusidx_services_reviews_rating on ratingidx_services_reviews_parent on parentIdidx_services_reviews_author on authorIdidx_services_availability_unique unique on (serviceId, dayOfWeek, startTime)idx_services_availability_service on serviceIdidx_services_bookings_service on serviceIdidx_services_bookings_customer on customerIdidx_services_bookings_provider on providerIdidx_services_bookings_status on statusidx_services_bookings_date on bookingDateidx_services_media_type on typeidx_services_media_url on urlidx_services_translations_service on serviceIdidx_services_translations_language on inLanguagejsonb type to support multilingual content:
// Example multilingual field
{
"fr": "Bonjour",
"en": "Hello",
"es": "Hola"
}
{ onDelete: "cascade" } automatically delete child records:
src/database/schemas/
├── auth-schema.ts # Authentication tables
├── audit-log.schema.ts # Audit logging
├── profile.schema.ts # User profiles
├── blog_posts.schema.ts # Blog posts
├── blog_authors.schema.ts # Blog authors
├── blog_categories.schema.ts # Blog categories
├── blog_comments.schema.ts # Comments
├── blog_media.schema.ts # Blog media
├── blog_organization.schema.ts # Publishers
├── blog_translations.schema.ts # Blog i18n
├── notification.schema.ts # Notifications
├── services_listings.schema.ts # Service listings
├── services_categories.schema.ts # Service categories
├── services_reviews.schema.ts # Reviews
├── services_availability.schema.ts # Schedules
├── services_bookings.schema.ts # Bookings
├── services_media.schema.ts # Service media
└── services_translations.schema.ts # Service i18n