Migrating database and Making new and create actions