aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema_dumper.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* fk: rename `dependent` to `on_delete`Yves Senn2014-06-261-1/+1
* fk: support dependent option (:delete, :nullify and :restrict).Yves Senn2014-06-261-0/+2
* fk: dump foreign keys to schema.rbYves Senn2014-06-261-0/+22
* Push default_function to superclass to avoid method checkRafael Mendonça França2013-10-141-1/+1
* Dump the default function when the primary key is uuidRafael Mendonça França2013-10-141-0/+1
* Creating options for schema dumper.wangjohn2013-08-221-5/+16
* Make SchemaDumper emit "id: :uuid" when appropriate. Fixes #10451.Brian Buchanan2013-05-031-1/+4
* Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL.Ken Mazaika2013-03-271-0/+2
* Dump the 'using' options for a SQL index into the schema.Ken Mazaika2013-03-271-0/+2
* Created a layer of abstraction for the valid type checking in schema dumper. ...Ranjay Krishna2013-03-251-1/+1
* Revert "checking in the abstractions for valid type checking:"Jon Leighton2013-02-151-1/+1
* Merge pull request #9204 from ranjaykrishna/col-probAaron Patterson2013-02-121-1/+1
|\
| * checking in the abstractions for valid type checking:Ranjay Krishna2013-02-121-1/+1