2
votes
Fortnightly Programming Q&A Thread
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.
Don't forget to format your code using the triple backticks or tildes:
Here is my schema:
```sql
CREATE TABLE article_to_warehouse (
article_id INTEGER
, warehouse_id INTEGER
)
;
```
How do I add a `UNIQUE` constraint?
I have a general question for folks. When first using a new project written by someone else, say some github repo that is relevant to your work, how do you go about familiarizing yourself with the code? Any tips? I always find this to be the slowest part of my workflow as I find it difficult to sit down and figure out how a code is structured, especially when documentation and comments might be lacking. This is in a academic context fwiw.