changed database migration to bigint