- Upgrade schema_dev_core dependency to 1.0
- Break up monolothic gem into a family of individual gems. This gem is now just a wrapper.
- Bug fix for AR 4.2, spurious add_foreign_key statements at the top of schema dump. Thanks to @tovodeverett for doing better testing than me!
- Rails 4.2 now supported. Thanks to @methodmissing and @dimonzozo
- Padrino compatibility. Thanks to @thmzlt
- Internal: Now use our own drop_view function rather than duplicating code. Thanks to @robertomiranda
- Eliminate warnings when ruby is in verbose mode
- Internal: Now using schema_dev matrix test framework.
- Added Postgresql index operator support (issue #184)
- Added PostgreSQL enum support (thanks to @juike) (issue #167)
- Added if_exists to drop_view (thanks to @abrom) (issue #171)
- Partial support for AR 4.* with jRuby (thanks to [@bacrossland])) (issue #172)
- No longer limited to rails 4.1.1 (issue #159)
- Bug fix: multiple competing indexes created for
t.references... index: :unique
(issue #157) - Now works with rspec 3 (thanks to @robababa) (issue #160)
- Improvements to ./runspecs (thanks to @robababa) (issue #162)
- For now, pin to rspec 2.* and limit rails to 4.1.1 (issue #158)
- Now respects ActiveRecord::SchemaDumper.ignore_tables for views (issue #153)
- Can now be used with activerecord standalone, doesn't need all of rails.
views
ignores PostgreSQL internal views, thanks to @everplays (issue #147)
- Bug fixes
migration.add_references
withpolymophic: true
(issue #145 and others)
- Supports jruby & mysql, thanks to @rzenha
- Works with MRI ruby & rails 4.1.0beta3
- Run tests against MRI 2.1.0
- Bug fix, dump unique index with expression (Issue #142)
- Bug fix, remove_index with if_exists but no name
- Sort indexes alphabetically when dumping, like rails does
- Regression bug fix, non-option arguemnts to remove_index
- Added :if_exists option for remove_index
- Initial jruby support (rails 3.2, postgresql), due to efforts of @donv
- Preliminatry groundwork for rails 4.1, due to efforts of @tovodeverett
- Bug fix for change_table
- Bug fix for schema_dump postgresql non-btree indexes
- Bug fix regarding expressions that cast non-string columns to strings in a lower()
- Now works with rails 4, due to efforts of @tovodeverett
- Test against MRI ruby 2.0.0, no longer test against 1.9.2
- Now works with rails 3.2.13 (fixed railtie initialization)
- Dependency constraint to rails 3.2.12 max, since schema_plus doesn't currently work with 3.2.13.rc2
- Add support for drop_table :cascade => true. Note that until now, :cascade was implicitly true. So this change might break existing code that relied on the incorrect implicit cascade behavior.
- Add support for :deferrable => :initially_deferred (thanks to @bhavinkamani)
- Works with PostGIS (thanks to @pete)
- Bug fix: Circular Reference/Stack Level Too Deep in Column#to_json. Thanks to @robdimarco for tracking down the problem
- Bug fix: More robust handling of foreign keys with schema namespaces
- README cleanups (thanks to @denispeplin)
- Now raises ArgumentError if index has both :case_sensitive => false and an :expression
- Now creates consistent default name for foreign key constraints
- Bug fix: respect :length keyword for index (thanks to @teleological)
- Bug fix: renaming table with multiple foreign key constraints (thanks to @teleological)
- Bug fix: don't dump :case_sensitive => false for index with an expression that includes "lower(name)".
- Bug fix: Properly dump multi-column case-insensitive indexes
- No longer support rails < 3.2 and ruby < 1.9
- New feature: specify foreign key constraints using :foreign_key => { ... }, motivated in particular to support :name (suggested by @daniele-m)
- New feature: create view using ActiveRecord relation
- New feature:
ActiveRecord::DB_DEFAULT
(suggested by @zaadjis) - New feature: renaming a table renames its indexes and constraints correspondingly.
- Bug fix for PostgreSQL :kind index attribute (thanks to @eugenebolshakov)
- Sort fks in dump for stability (thanks to @zephyr-dev)
- Bug fix: change_column should maintain foreign key constraints even when config.foreign_keys.auto_create is false
- Bug fix: quote default expressions in schema dump (thanks to @jonleighton)
- Bug fix: when removing a foreign key constraint, remove its auto-generated index.
- Bug fix: SchemaDumper.ignore_tables needs to support regexps (suggested by @mtalcott)
- Bug fix: More robust handling of Postgresql schema_search path (suggested by @mtalcott)
- Bug fix: Only get index, view, and foreign key information from current schema (thanks to @bhavinkamani)
- 0.4.1 - Bug fix: don't attempt foreign key creation for t.belongs_to ... :polymorphic => true
- 0.4.0 - Add :force for create_view (suggested by @greglazarev). cleanups by @betelgeuse
- 0.3.4 - Bug fix: regression causing :default => false to be ignored
- 0.3.3 - Bug fix: properly handle boolean defaults in mysql
- 0.3.2 - Bug fix: make sure rake db:schema:load initializes schema_plus
- 0.3.1 - Bug fix for PostgreSQL schema dump after change_column_default(... nil)
- 0.3.0 - Add :default => expressions (Thanks to Luke Saunders). support rails 3.2 and ruby 1.9.3
- 0.2.1 - Suppress duplicate add_indexes. compatibility with rails 3.2.0.rc2