aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/schema_dumper.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix invalid schema dump when primary key column has a commentGuilherme Goettems Schneider2019-06-031-1/+1
* Deprecate `active_support/core_ext/hash/compact`yuuji.yaginuma2018-03-021-2/+0
* Refactor `SchemaDumper` to make it possible to adapter specific customizationRyuta Kamizono2017-08-221-19/+18
* Remove deprecated `#migration_keys`Ryuta Kamizono2017-08-221-6/+0
* Require "active_support/core_ext/hash/compact" for `compact!`Ryuta Kamizono2017-08-211-0/+2
* Don't expose `prepare_column_options`Ryuta Kamizono2017-08-211-32/+13
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Merge pull request #27389 from kamipo/fix_mysql_pk_dumping_correctlyJeremy Daer2017-02-061-0/+6
|\
| * Correctly dump integer-like primary key with default nilRyuta Kamizono2017-02-041-0/+6
* | Deprecate `ColumnDumper#migration_keys`Ryuta Kamizono2017-02-071-2/+3
|/
* Virtual/generated column support for MySQL 5.7.5+ and MariaDB 5.2.0+Ryuta Kamizono2017-02-011-1/+9
* Change MySQL and Postgresql to use Bigint primary keysJon McCartie2016-12-051-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Extract `format_colspec` to format column specRyuta Kamizono2016-10-111-3/+1
* `name` is not a column optionRyuta Kamizono2016-10-101-2/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-33/+33
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* Database comments: Treat blank comments as no comment. Don't dump blank comme...Jeremy Daer2016-04-191-1/+1
* Merge pull request #23622 from kamipo/primary_key_should_be_not_nullJeremy Daer2016-04-181-1/+1
|\
| * Primary key should be `NOT NULL`Ryuta Kamizono2016-03-121-1/+1
* | Add support for specifying comments for tables, columns, and indexes.Andrey Novikov2016-04-161-1/+3
|/
* Merge pull request #24054 from kamipo/extract_default_primary_keyRafael França2016-03-111-1/+5
|\
| * Extract `default_primary_key?` to refactor `column_spec_for_primary_key`Ryuta Kamizono2016-03-111-1/+5
* | Dump `bigint` instead of `integer` with `limit: 8` for schema dumperRyuta Kamizono2016-03-111-2/+6
|/
* Exclude `:name` and `:type` from `prepare_column_options`Ryuta Kamizono2016-02-291-6/+6
* `schema_type` returns symbol rather than stringRyuta Kamizono2016-02-081-3/+3
* Add expression support on the schema defaultRyuta Kamizono2016-01-131-1/+7
* Merge pull request #20815 from byroot/do-not-include-column-limit-if-it-is-de...Matthew Draper2015-12-181-2/+2
|\
| * Do not include column limit in schema.rb if it matches the defaultJean Boussier2015-07-081-2/+2
* | Move the methods for schema dumping into `{mysql,postgresql}/schema_dumper.rb`Ryuta Kamizono2015-10-131-1/+1
* | Fix minor docs [ci skip] amitkumarsuroliya2015-09-281-1/+1
|/
* Divide methods for handling column options separatelyRyuta Kamizono2015-05-181-4/+24
* Move the collation handling code from the MySQL adapter to common classesRyuta Kamizono2015-05-041-1/+9
* Correctly dump `serial` and `bigserial`Ryuta Kamizono2015-03-041-1/+5
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* The datetime precision with zero should be dumpedRyuta Kamizono2015-02-111-1/+1
* Refactor microsecond precision to be database agnosticSean Griffin2015-02-101-1/+1
* Remove most type related predicates from `Column`Sean Griffin2015-01-301-2/+3
* Improve a dump of the primary key support.Ryuta Kamizono2014-12-291-0/+6
* no need to pass native_database_types aroundYves Senn2014-12-021-4/+4
* Remove redundant `to_s` in interpolationclaudiob2014-10-301-1/+1
* Include default column limits in schema.rbJeremy Kemper2014-09-101-4/+8
* Don't type cast the default on the columnSean Griffin2014-06-171-1/+11
* Remove unused requireSean Griffin2014-06-111-2/+0
* refactor, introduce `Type#type_cast_for_schema` to cast for schema.rbYves Senn2014-05-301-26/+1
* Remove special case in schema dumper for decimal without scaleSean Griffin2014-05-231-9/+2
* The sql_type method called here is fromRafael Mendonça França2013-03-251-1/+1
* Fix default output for postgres network address typesErik Peterson2013-02-261-0/+11