Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```sql
- author (
- id SERIAL PRIMARY KEY
- name TEXT
- age INT
- is_active BOOL
- )
- article (
- id SERIAL PRIMARY KEY
- title TEXT
- content TEXT
- is_published BOOL
- author_id INT FOREIGN KEY REFERENCES author(id)
- )
- ```
Add Comment
Please, Sign In to add comment