aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "Allow `:precision` option for time type columns"Sean Griffin2015-02-171-6/+0
* Merge pull request #18662 from estum/foreign-key-existsYves Senn2015-02-161-15/+26
|\
| * Add methods to get foreign key matching argumentsAnton2015-01-291-40/+28
| * Add `foreign_key_exists?` method.Anton2015-01-241-0/+23
* | fix, `to_table` in `remove_foreign_key` should be plural.Yves Senn2015-02-161-1/+1
* | Allow `:precision` option for time type columnsRyuta Kamizono2015-02-121-0/+6
* | fix `remove_reference` with `foreign_key: true` on MySQL. #18664.Yves Senn2015-02-111-0/+6
* | Generate consistent names for foreign keysChris Sinjakli2015-02-031-1/+5
|/
* Add an `:if_exists` option to `drop_table`Stefan Kanev2015-01-191-1/+1
* Change the default `null` value for `timestamps` to `false`Rafael Mendonça França2015-01-041-2/+2
* Add default value for `create_table_definition`Ryuta Kamizono2015-01-031-2/+2
* Extract the index length validation to a auxiliar methodRafael Mendonça França2014-12-301-3/+8
* Refactor a common class to reduce the duplication for `references`Sean Griffin2014-12-231-30/+2
* Add `foreign_key` as an option to `references` for `change_table`Sean Griffin2014-12-221-1/+16
* Convert `add_references` to use kwargsSean Griffin2014-12-221-6/+18
* Add a `foreign_key` option to `references` while creating the tableSean Griffin2014-12-221-1/+11
* `force: :cascade` to recreate tables referenced by foreign-keys.Yves Senn2014-12-191-2/+7
* Failure to rollback t.timestamps when within a change_table migrationnoam2014-12-031-1/+1
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* raise a better exception for renaming long indexesAaron Patterson2014-11-201-0/+3
* synchronize code and docs for `timestamps` and `add_timestamps`.Yves Senn2014-11-201-2/+5
* Support symbol foreign key to deletedtaniwaki2014-11-191-1/+1
* Use type column first in multi-column indexesDerek Prior2014-10-241-1/+1
* Merge pull request #16481 from sgrif/sg-change-default-timestampsDavid Heinemeier Hansson2014-08-171-3/+3
|\
| * Change the default `null` value for timestampsSean Griffin2014-08-121-3/+3
* | `index_exists?` with `:name` checks specified columns.Yves Senn2014-08-131-7/+8
|/
* Merge pull request #16231 from Envek/type_in_referencesYves Senn2014-07-221-2/+9
|\
| * Allow to specify a type for foreign key column in migrationsAndrey Novikov2014-07-221-1/+2
|/
* fk: add docsYves Senn2014-06-261-0/+58
* fk: review corrections: indent, visibility, syntax, wording.Yves Senn2014-06-261-8/+9
* fk: use random digest namesYves Senn2014-06-261-8/+12
* fk: `add/remove_foreign_key` are noop for adapters that don't support fkYves Senn2014-06-261-0/+4
* fk: raise when identifiers are longer than `allowed_index_name_length`.Yves Senn2014-06-261-1/+5
* fk: support for on_updateYves Senn2014-06-261-1/+2
* fk: rename `dependent` to `on_delete`Yves Senn2014-06-261-1/+1
* fk: infere column name from table names.Yves Senn2014-06-261-4/+14
* fk: support dependent option (:delete, :nullify and :restrict).Yves Senn2014-06-261-1/+2
* fk: `:primary_key` option for non-standard pk's.Yves Senn2014-06-261-1/+3
* fk: generalize using `AlterTable` and `SchemaCreation`.Yves Senn2014-06-261-7/+30
* fk: `foreign_keys`, `add_foreign_key` and `remove_foreign_key` for MySQLYves Senn2014-06-261-0/+7
* /mysql/i -> MySQL, Spell correct in continuation to #15555Akshay Vishnoi2014-06-141-1/+1
* Convert column name to string only onceKuldeep Aggarwal2014-05-041-1/+2
* Don't use send when we own the methodRafael Mendonça França2014-03-261-34/+34
* Invert the conditionals to make easier to readRafael Mendonça França2014-03-261-4/+4
* Fixes bugs for using indexes in CREATE TABLE by adding checks for table exist...Steve Rice2014-03-251-1/+1
* create indexes inline in CREATE TABLE for MySQLCody Cutrer2014-03-251-11/+10
* Add missing parantheses in index_exists?Yannick Schutz2014-02-251-1/+1
* docs, AR already auto-detects primary keys. Closes #13946. [ci skip]Yves Senn2014-02-051-3/+3
* Make change_table use object of current database adapterNishant Modak2014-01-071-5/+5
* Fix missing closing rdoc tag [ci skip]Carlos Antonio da Silva2013-12-161-1/+1