fix migration
Upd migrations
Upd tests
Fix cards