ticket:3 add migration and tests