Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

here is the prompt I used: help me create a script to generate two tables in my local postgres instance: 1. a table containing cocktail recipes: id, name(unique and indexed), url, rank (floating number) optional 2. an ingredients table, containing: ingredient name, amount, and related cocktail (by id). index ingredient name, and PK should be (cocktail id, ingredient name)


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: