# Liam Erd > Documentation for Liam Erd ## Pages - [Liam Erd Documentation](liam-erd-documentation.md) - [Liam ERD](liam-erd.md): import { Package, Globe } from "lucide-react"; - [A public repo's schema file](a-public-repos-schema-file.md) - [\{YYYYMMDD\} - \{TITLE\}](yyyymmdd-title.md): - [] Proposed - [Tech Stack](tech-stack.md): Liam is built using a modern JavaScript/TypeScript stack with a focus on React and Next.js. Here's an overview of our... - [settings.py](settingspy.md): DATABASES = { - [models.py](modelspy.md): from django.db import models - [Prerequisite: The database must be accessible.](prerequisite-the-database-must-be-accessible.md): Rails.application.eager_load! - [Filter out models that have valid table_name](filter-out-models-that-have-valid-table-name.md): models_with_table = ActiveRecord::Base.descendants.select do |model| - [Map belongs_to associations to the corresponding referenced tables](map-belongs-to-associations-to-the-corresponding-referenced-tables.md): assoc_map = models_with_table.map do |model| - [Generate add_foreign_key statements from the mapped relationships](generate-add-foreign-key-statements-from-the-mapped-relationships.md) - [This is a simple example, so in practice you’d need to handle duplicates carefully](this-is-a-simple-example-so-in-practice-youd-need-to-handle-duplicates-carefully.md): content = assoc_map.flat_map do |from_table, to_tables| - [Write or append this content to db/schema.rb in some way](write-or-append-this-content-to-dbschemarb-in-some-way.md): File.open("db/schema.rb", "a") do |file| - [A public repo's schema file](a-public-repos-schema-file-2.md)