![](https://sanity-images.imgix.net/production/c489e7c3a17d1b8ab72be24e58e39cd5a3f1ce0b-2617x2618.png?w=1200&auto=format%2Ccompress)
Database best practices
Practice with best practices
In your companion doc, you’ll create a quick to-do list:- Add a new page and title it Backend
- Type “/table” on this new page and name it Tasks
- Set the table up to have the following columns
- Task Name (this should be your display column)
- Due date (change the column type to date)
- Owner (this could be a text column type, but it really gets exciting if you make it a people type)
- Done (change the column type to a checkbox or toggle)
- Priority (change to a scale column type)
- Add some tasks
- Go back to the best practice page and type “/Tasks” to create a view of your Tasks table
- Name the view Incomplete Tasks and filter this view to show only incomplete tasks
Was this helpful?
YesNo