migration for ecard table