Add the following two fields to the Snippet
model in .
We'll need some extra imports:
When that's all done we'll need to update our database tables.Normally we'd create a database migration in order to do that, but for the purposes of this tutorial, let's just delete the database and start again.