Added a migration_done function to write to the migrations table that the migration in question has been successfully completed.