Migrations now use transactions.
Removed unused variable.
Removed this.adapter in favor of shared variable.