@@ -15,7 +15,8 @@ This will install the current stable version of `ionic-database-builder` in your
1515#### Simple Setup
1616
1717``` ts
18- import { DatabaseModule } from ' ionic-database-builder' ;
18+ import { DatabaseModule , DatabaseSettingsFactoryDefault , MappersTableSimple } from ' ionic-database-builder' ;
19+ import { DatabaseHelper } from ' database-builder' ;
1920
2021@NgModule ({
2122 ...
@@ -42,7 +43,7 @@ import { DatabaseModule } from 'ionic-database-builder';
4243 TestClazzRef
4344 )),
4445 // implementation of "DatabaseMigrationContract" to estrategy migration upgrade versions database
45- DatabaseMigration
46+ DatabaseMigrationService
4647 )
4748 ...
4849 ],
@@ -52,7 +53,7 @@ export class AppModule { }
5253
5354```
5455
55- ** ` DatabaseMigration ` **
56+ ** ` DatabaseMigrationService ` **
5657
5758``` ts
5859import { Observable } from ' rxjs/Observable' ;
@@ -63,7 +64,7 @@ import { DatabaseMigrationContract, Database, MappersTableBase } from 'ionic-dat
6364import { Version } from ' ionic-database-builder/src/model/version-model' ;
6465
6566@Injectable ()
66- export class DatabaseMigration extends DatabaseMigrationContract {
67+ export class DatabaseMigrationService extends DatabaseMigrationContract {
6768
6869 // implemented of "DatabaseMigrationContract"
6970 public to(version : Version , transation : SQLiteTransaction , mappers : MappersTableBase ): Observable <any >[] {
@@ -216,4 +217,4 @@ export class MyApp {
216217}
217218```
218219
219- [ ** More documentation on database-builder (Query, Crud, etc)** ] ( https://github.com/fernandocode/database-builder ) .
220+ [ ** More documentation on database-builder (Query, Crud, etc)** ] ( https://github.com/fernandocode/database-builder ) .
0 commit comments