aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema_dumper.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Do not print anything related to extensions when they don't none existCarlos Antonio da Silva2013-02-061-4/+6
* | Add blank line after extensions to separate from tables in schemaCarlos Antonio da Silva2013-02-061-0/+1
* | Fix indentation of extensions in schemaCarlos Antonio da Silva2013-02-061-4/+2
* | add ActiveRecord::AbstractAdapter#extensions and ActiveRecord::ConnectionAdap...Justin George2013-02-061-0/+12
|/
* Move to the schema-migrations-metadata branch.Jeremy Kemper2012-12-091-16/+5
* dump schema.rb without :version optionJosh Susser2012-12-051-4/+2
* Add migration history to schema.rb dumpJosh Susser2012-12-021-2/+15
* Moves column dump specific code to a module included in AbstractAdapterDan McClain2012-09-141-29/+2
* Dump schema using new style hashKonstantin Shabanov2012-09-081-10/+10
* Merge pull request #4396 from kennyj/fix_4259Rafael Mendonça França2012-06-201-4/+8
|\