made database and migrated table