aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema_dumper.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
|/
* Add `:charset` and `:collation` options support for MySQL string and text col...Ryuta Kamizono2015-03-061-1/+4
* Improve a dump of the primary key support.Ryuta Kamizono2014-12-291-5/+6
* Dump the default `nil` for PostgreSQL UUID primary key.Ryuta Kamizono2014-12-261-1/+1
* `force: :cascade` to recreate tables referenced by foreign-keys.Yves Senn2014-12-191-1/+1
* no need to pass native_database_types aroundYves Senn2014-12-021-2/+1
* Remove is_a? check when ignoring tablesSean Griffin2014-11-201-6/+1
* add bigserial pk supportAaron Patterson2014-10-291-0/+2
* do not dump foreign keys for ignored tables.Yves Senn2014-09-171-1/+1
* Schema dumper: all connection adapters implement #primary_key, so rely on it ...Jeremy Kemper2014-09-071-10/+1
* Fix warnings for undefined local variableTee Parham2014-09-071-6/+10
* Prefer "if any?" to "unless empty?"Tee Parham2014-09-071-9/+6
* Convert string concatenations to substitutionsTee Parham2014-09-071-15/+15
* Extract iterator method in AR::SchemaDumperCaleb Thompson2014-07-251-10/+14
* Dump PostgreSQL primary key with custom function as a default.Andrey Novikov2014-07-111-1/+2
* fk: use random digest namesYves Senn2014-06-261-3/+13
* fk: dump foreign keys at the bottom to make sure tables exist.Yves Senn2014-06-261-6/+9
* fk: support for on_updateYves Senn2014-06-261-0/+1