moved migration to snippets