zopsicle / adatip

Heavy work in progress.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Fetch latest posts from the database #30

Closed zopsicle closed 3 years ago

zopsicle commented 3 years ago

13.

This change adds tables for information about posts. It also replaces the hard coded example posts with a SQL query.

No schema is included for post attachments. We should first think about how attachments should work, and introduce them in a separate PR.

The query still queries the posts through the nickname. We can query them by creator identifier directly, by having fetchCreatorPosts take CreatorId instead of Nickname, after #21.

zopsicle commented 3 years ago

Rebased on latest master, now querying directly using CreatorId. Also renumbered the migration.