set up snippet migration and model