migrated the database for the user table