brick_sqlite_abstract 0.0.9+1 copy "brick_sqlite_abstract: ^0.0.9+1" to clipboard
brick_sqlite_abstract: ^0.0.9+1 copied to clipboard

outdated

Support for Brick SQLite that does not rely on dart:mirrors

Unreleased #

0.0.9+1 #

  • Escape tables created with reserved names in the index statement. For example: CREATE INDEX IF NOT EXISTS index_Group_on_id \Group`(`id`)`

0.0.9 #

  • Remove Migration.wrapInTransaction static method. This was a misleading and unused method.
  • Add index: option in @Sqlite for creating an index on a column.

0.0.8+1 #

  • Add a DropIndex command to revert CreateIndex changes
  • Detect CreateIndex changes and generate a migration

0.0.8 #

  • When joins tables are created, add a unique index by both columns to ensure no duplicates are inserted. Prior applications will need to manually specify CreateIndex in a custom migration for existing joins tables. When new joins tables are generated in migrations, CreateIndex will also be generated.

0.0.7+4 #

  • Fix a bug where a many-to-many association shared the same class name

0.0.7+2, 0.0.7+3 #

  • Define onDeleteSetDefault on the field annotation. This 1) generates a new migration and 2) allows the schema to regenerate from user preferences instead of strictly historic migrations.

0.0.7+1 #

  • Define onDeleteCascade on the field annotation. This 1) generates a new migration and 2) allows the schema to regenerate from user preferences instead of strictly historic migrations.

0.0.7 #

  • When defining the migration for InsertForeignKey, onDeleteCascade can be set to determine whether the deletion of the record will delete all referencing children records. Defaults false.

0.0.4 #

  • Sqlite#defaultValue updated to reflect FieldSerializable#defaultValue change

0.0.2 #

  • Use single quotes when generating Migration#version to comply with default analyzer options
  • Fix linter hints

0.0.1+1 #

  • SqliteModel moved to this package from brick_offline_first_abstract
0
likes
0
points
286
downloads

Publisher

unverified uploader

Weekly Downloads

Support for Brick SQLite that does not rely on dart:mirrors

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

brick_core, meta

More

Packages that depend on brick_sqlite_abstract