Last active
March 30, 2026 22:12
-
-
Save miratcan/68f866e13559ac11088b943572953a4e to your computer and use it in GitHub Desktop.
OtoRapor DB Schema (DBML for dbdiagram.io)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Table vehicles { | |
| id integer [pk, increment] | |
| brand text [not null, note: 'e.g. "Alfa Romeo"'] | |
| model text [not null, note: 'e.g. "Tonale"'] | |
| year integer [not null] | |
| variant text [not null, note: 'e.g. "1.6 Diesel 130 HP Ti DCT"'] | |
| slug text [unique, not null] | |
| specs json [note: '{"engine": {"power_hp", "torque_nm", ...}, "dimensions": {...}, ...}'] | |
| features json [note: '{"safety": [...], "comfort": [...], "multimedia": [...], "design": [...]}'] | |
| colors json [note: '["Alfa Siyahı", "Misano Mavi", ...]'] | |
| source json [note: '{"url", "site", "crawled_at"}'] | |
| indexes { | |
| (brand, model, year, variant) [unique] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment