Here is the final chat:
https://chatgpt.com/share/68340f5a-77c0-8012-86b2-214d449347b5It produced the complete Jam.py app only by reading database SQL schema:
python ai5.py schema.sql [SYS_ITEMS] Inserted DEMO_CUSTOMERS as id=6
↳ [SYS_FIELDS] Field ID -> id (type=2, id=15)
↳ [SYS_FIELDS] Field DELETED -> deleted (type=2, id=16)
↳ [SYS_FIELDS] Field FIRSTNAME -> firstname (type=1, id=17)
↳ [SYS_FIELDS] Field LASTNAME -> lastname (type=1, id=18)
↳ [SYS_FIELDS] Field COMPANY -> company (type=1, id=19)
↳ [SYS_FIELDS] Field ADDRESS -> address (type=1, id=20)
↳ [SYS_FIELDS] Field CITY -> city (type=1, id=21)
↳ [SYS_FIELDS] Field STATE -> state (type=1, id=22)
↳ [SYS_FIELDS] Field COUNTRY -> country (type=1, id=23)
↳ [SYS_FIELDS] Field POSTALCODE -> postalcode (type=1, id=24)
↳ [SYS_FIELDS] Field PHONE -> phone (type=1, id=25)
↳ [SYS_FIELDS] Field FAX -> fax (type=1, id=26)
↳ [SYS_FIELDS] Field EMAIL -> email (type=1, id=27)
↳ [SYS_FIELDS] Field SUPPORT_REP_ID -> supportRepId (type=2, id=28)
↳ [SYS_FIELDS] Field PHOTO -> photo (type=1, id=29)
↳ [SYS_FIELDS] Field RECORD_VERSION -> recordVersion (type=2, id=30)
[SYS_ITEMS] Inserted DEMO_ALBUMS as id=7
↳ [SYS_FIELDS] Field ID -> id (type=2, id=31)
↳ [SYS_FIELDS] Field DELETED -> deleted (type=2, id=32)
↳ [SYS_FIELDS] Field TITLE -> title (type=1, id=33)
↳ [SYS_FIELDS] Field ARTIST -> artist (type=2, id=34)
↳ [SYS_FIELDS] Field RECORD_VERSION -> recordVersion (type=2, id=35)
[SYS_ITEMS] Inserted DEMO_GENRES as id=8
↳ [SYS_FIELDS] Field ID -> id (type=2, id=36)
↳ [SYS_FIELDS] Field DELETED -> deleted (type=2, id=37)
↳ [SYS_FIELDS] Field NAME -> name (type=1, id=38)
↳ [SYS_FIELDS] Field RECORD_VERSION -> recordVersion (type=2, id=39)
[SYS_ITEMS] Inserted DEMO_ARTISTS as id=9
↳ [SYS_FIELDS] Field ID -> id (type=2, id=40)
↳ [SYS_FIELDS] Field DELETED -> deleted (type=2, id=41)
↳ [SYS_FIELDS] Field NAME -> name (type=1, id=42)
↳ [SYS_FIELDS] Field RECORD_VERSION -> recordVersion (type=2, id=43)
[SYS_ITEMS] Inserted DEMO_TRACKS as id=10
↳ [SYS_FIELDS] Field NAME -> name (type=1, id=44)
↳ [SYS_FIELDS] Field ALBUM -> album (type=2, id=45)
↳ [SYS_FIELDS] Field MEDIA_TYPE -> mediaType (type=2, id=46)
↳ [SYS_FIELDS] Field GENRE -> genre (type=2, id=47)
↳ [SYS_FIELDS] Field COMPOSER -> composer (type=1, id=48)
↳ [SYS_FIELDS] Field MILLISECONDS -> milliseconds (type=2, id=49)
↳ [SYS_FIELDS] Field BYTES -> bytes (type=2, id=50)
↳ [SYS_FIELDS] Field UNITPRICE -> unitprice (type=4, id=51)
↳ [SYS_FIELDS] Field FILE -> file (type=1, id=52)
↳ [SYS_FIELDS] Field ID -> id (type=2, id=53)
↳ [SYS_FIELDS] Field DELETED -> deleted (type=2, id=54)
↳ [SYS_FIELDS] Field RECORD_VERSION -> recordVersion (type=2, id=55)
[SYS_ITEMS] Inserted DEMO_INVOICE_TABLE as id=11
↳ [SYS_FIELDS] Field TRACK -> track (type=2, id=56)
↳ [SYS_FIELDS] Field QUANTITY -> quantity (type=2, id=57)
↳ [SYS_FIELDS] Field UNITPRICE -> unitprice (type=4, id=58)
↳ [SYS_FIELDS] Field AMOUNT -> amount (type=4, id=59)
↳ [SYS_FIELDS] Field TAX -> tax (type=4, id=60)
↳ [SYS_FIELDS] Field TOTAL -> total (type=4, id=61)
↳ [SYS_FIELDS] Field ID -> id (type=2, id=62)
↳ [SYS_FIELDS] Field DELETED -> deleted (type=2, id=63)
↳ [SYS_FIELDS] Field INVOICE -> invoice (type=2, id=64)
↳ [SYS_FIELDS] Field RECORD_VERSION -> recordVersion (type=2, id=65)
↳ [SYS_FIELDS] Field PAID -> paid (type=2, id=66)
[SYS_ITEMS] Inserted DEMO_INVOICES as id=12
↳ [SYS_FIELDS] Field CUSTOMER -> customer (type=2, id=67)
↳ [SYS_FIELDS] Field INVOICE_DATE -> invoiceDate (type=5, id=68)
↳ [SYS_FIELDS] Field SUBTOTAL -> subtotal (type=4, id=69)
↳ [SYS_FIELDS] Field TAXRATE -> taxrate (type=4, id=70)
↳ [SYS_FIELDS] Field TAX -> tax (type=4, id=71)
↳ [SYS_FIELDS] Field TOTAL -> total (type=4, id=72)
↳ [SYS_FIELDS] Field ID -> id (type=2, id=73)
↳ [SYS_FIELDS] Field DELETED -> deleted (type=2, id=74)
↳ [SYS_FIELDS] Field PAID -> paid (type=2, id=75)
↳ [SYS_FIELDS] Field RECORD_VERSION -> recordVersion (type=2, id=76)
✅ Done. Inserted 7 items and 62 fields.
Here is the single script with updated info for SYS_PARAMS and SYS_TASKS to use English, sqlite, and
demo.sqlite database for the new project. We can manipulate this so suit.
Now we need to tell AI to form the JSON file, which goes to table SYS_ITEMS field F_INFO for each table.
Since right now, what we will get is empty form.

However, this is now really about how would you like to show the Forms and Views.
Are TABS going to be used, or BANDS? Not sure why would we need AI for this, but if we
want to impress someone, that's needed...
Will leave this to others.
As per ChatGPT:
"This gives you a fully scriptable way to bootstrap a Jam.py application from any existing database schema - a powerful starting point for automation or migrations."
Now
Enjoy