aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema_dumper.rb
Commit message (Expand)AuthorAgeFilesLines
* Implement `PostgreSQL::SchemaDumper#extensions`Yasuo Honda2017-10-251-9/+1
* Prefer to place a table options before `force: :cascade` (#28005)Ryuta Kamizono2017-08-271-2/+1
* Remove unused returning value `stream`Ryuta Kamizono2017-08-241-2/+0
* Refactor `SchemaDumper` to make it possible to adapter specific customizationRyuta Kamizono2017-08-221-3/+3
* Allow `table_name_prefix` and `table_name_suffix` have `$`Yasuo Honda2017-08-041-1/+3
* Merge pull request #29768 from janpieper/sort-enabled-extensions-in-dumpEileen M. Uchitelle2017-07-221-1/+1
|\
| * Sort enabled adapter extensions in schema dumpJan Pieper2017-07-121-1/+1
* | 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
* Use mattr_accessor default: option throughout the projectGenadi Samokovarov2017-06-031-2/+1
* Update SchemaDumper.ignore_tables docsGuillermo Iguaran2017-05-151-2/+2
* Tweaks #28678Ryuta Kamizono2017-04-091-4/+5
* use formatted number as schema versionAnton Chuchkalov2017-04-051-1/+9
* Use `tables` instead of `data_sources - views`Ryuta Kamizono2017-02-281-1/+1
* Add `default_index_type?` to the generic schema dumper doesn't have the knowl...Ryuta Kamizono2017-02-141-1/+1
* Omit redundant `using: :btree` for schema dumpingRyuta Kamizono2017-02-131-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
* Extract `format_colspec` to format column specRyuta Kamizono2016-10-111-9/+9
* Fix table comment dumpingRyuta Kamizono2016-10-111-1/+1
* `name` is not a column optionRyuta Kamizono2016-10-101-9/+6
* Dump index options to pretty formatRyuta Kamizono2016-10-101-6/+2
* Prevent to create blank commentRyuta Kamizono2016-10-081-3/+5
* Remove unnecessary `format_string`Ryuta Kamizono2016-08-231-15/+2
* Remove the SchemaDumper options and change the default behaviorRafael Mendonça França2016-08-221-38/+3
* Option not to line up column types and attributes in schema.rbTim Petricola2016-08-171-10/+38
* Add three new rubocop rulesRafael Mendonça França2016-08-161-3/+3
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-5/+5
* Merge pull request #25340 from kamipo/prevent_table_comment_queryRafael França2016-07-281-4/+4
|\
| * Prevent `table_comment` query if a table doesn't have a commentRyuta Kamizono2016-06-101-4/+4
* | Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-6/+1
|/
* Remove magic comment in generated `schema.rb`Ryuta Kamizono2016-05-121-4/+0
* Dump indexes in `create_table` for generates SQL in one queryRyuta Kamizono2016-04-201-20/+33
* Database comments: Treat blank comments as no comment. Don't dump blank comme...Jeremy Daer2016-04-191-1/+1
* Database comments: switch to keyword args for new table optionsJeremy Daer2016-04-181-2/+3
* Add support for specifying comments for tables, columns, and indexes.Andrey Novikov2016-04-161-0/+4
* Merge pull request #24054 from kamipo/extract_default_primary_keyRafael França2016-03-111-1/+1
|\
| * Extract `default_primary_key?` to refactor `column_spec_for_primary_key`Ryuta Kamizono2016-03-111-1/+1
* | Initialize `column.table_name` immediately for `column.serial?` correctly wor...Ryuta Kamizono2016-03-081-4/+1
|/
* Revert "Dump indexes in `create_table` instead of `add_index`"Sean Griffin2016-02-051-4/+6
* Prevent destructive action on production databaseschneems2016-01-071-1/+1
* introduce `conn.data_source_exists?` and `conn.data_sources`.Yves Senn2015-09-221-1/+1
* Merge pull request #21609 from kamipo/do_not_dump_view_as_tableJeremy Daer2015-09-191-1/+1
|\
| * Do not dump a view as a table in sqlite3, mysql and mysql2 adaptersRyuta Kamizono2015-09-131-1/+1
* | Correctly dump composite primary keyRyuta Kamizono2015-09-201-6/+13
* | Don't hardcode table nameschneems2015-09-161-1/+1
|/
* Remove unused already requireRyuta Kamizono2015-05-191-1/+0
* Merge pull request #19994 from kamipo/dump_indexes_in_create_tableRafael Mendonça França2015-05-031-6/+4
|\
| * Dump indexes in `create_table` instead of `add_index`Ryuta Kamizono2015-05-031-6/+4
* | Correctly dump `:options` on `create_table` for MySQLRyuta Kamizono2015-05-031-0/+4
|/