// Run a query that will mark the library as migrated
var query = this.createMigrationQuery(aLibrary);
query.addQuery("create index idx_resource_properties_property_id_obj_sortable_media_item_id on resource_properties (property_id, obj_sortable, media_item_id)");
query.addQuery("reindex");
query.addQuery("analyze");
query.addQuery("commit");
this.migrationQuery = query;
var sip = Cc["@mozilla.org/supports-interface-pointer;1"]
.createInstance(Ci.nsISupportsInterfacePointer);
sip.data = this;
this._titleText = "Library Migration Helper";
this._statusText = "Migrating 1.8 database to 1.9 database...";