aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make references with index:true pass Hash options to add_index.Victor Costan2013-04-011-1/+1
|
* Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL.Ken Mazaika2013-03-271-1/+1
|
* Custom index type support with :using.doabit2013-03-241-1/+1
|
* add uuid primary key supportAaron Patterson2013-03-221-2/+3
|
* separate primary key from column typeAaron Patterson2013-03-221-10/+11
|
* push the mysql add_column up to the abstract adapterAaron Patterson2013-03-221-1/+3
|
* allow multiple add columnsAaron Patterson2013-03-221-4/+4
|
* push alter table add column sql in to the schema modification visitorAaron Patterson2013-03-221-6/+23
|
* there is no reason to check for an already defined columnAaron Patterson2013-03-221-1/+1
|
* push column initialization down to the factory methodAaron Patterson2013-03-221-13/+13
|
* @columns list is no longer necessaryAaron Patterson2013-03-221-8/+4
|
* keep ivars private, do not manipulate them outside their owner objectAaron Patterson2013-03-221-0/+4
|
* factory methods should not alter object stateAaron Patterson2013-03-221-5/+7
|
* push SQL generation inside the schema creation objectAaron Patterson2013-03-221-1/+5
|
* mostly decouple TableDefinition from the database connectionAaron Patterson2013-03-221-3/+3
|
* remove to_sql from TableDefinitionAaron Patterson2013-03-221-8/+0
|
* decouple column definition from the database connectionAaron Patterson2013-03-221-6/+6
|
* remove knowledge of SQL from the column definition objectAaron Patterson2013-03-221-21/+2
|
* Refactored to reuse methodAnupam Choudhury2013-03-151-2/+2
|
* ask column if it is a pkAaron Patterson2013-03-141-1/+5
|
* you can provide uuid_generate_v4 as the default value for uuid columnsAaron Patterson2013-03-141-1/+2
|
* pg is the only adapter that supports the xml type, so push the method downAaron Patterson2013-03-141-9/+0
|
* Apparently people were mutating this array. :'(Aaron Patterson2013-03-141-3/+3
| | | | This reverts commit abba61e2bbe320894ba8449ebdf778a1d2af545b.
* hashes are ordered, so just use the columns_hash ivarAaron Patterson2013-03-141-3/+3
|
* use the method so we do not depend on internal ivarsAaron Patterson2013-03-141-1/+1
|
* extract factory method and push common code up to abstract adapterAaron Patterson2013-03-141-2/+5
|
* update docs, change_table does not use TableDefinition.Yves Senn2013-02-281-3/+3
|
* Revert "Revert "Merge pull request #9206 from ranjaykrishna/use_define_method""Jon Leighton2013-02-151-18/+13
| | | | | | This reverts commit 8aa4603a5adaa56c818a7bd1c0b761b4ecca3d3e. Reverting the revert because I reverted the wrong thing! Fail.
* Revert "Merge pull request #9206 from ranjaykrishna/use_define_method"Jon Leighton2013-02-151-13/+18
| | | | | | | | | | | | | This reverts commit 1fc6876b57f2e1d31731e74eb4271b5655e746d2, reversing changes made to 0268b5d8cdc3c5a1337462135f0a326a2654ba1a. Reason: failing test 1) Error: test_valid_column(ActiveRecord::ConnectionAdapters::SQLite3AdapterTest): NoMethodError: undefined method `column' for test/cases/adapters/sqlite3/sqlite3_adapter_test.rb:29:in `test_valid_column'
* reverted back our changes and added in the new define_methodRanjay Krishna2013-02-121-18/+13
|
* Differentiate between remove_column and remove_columns. Make remove_column ↵Marc-Andre Lafortune2012-12-211-1/+1
| | | | | | reversible. [#8267]
* Simplify change_table and avoid duplicated logicMarc-Andre Lafortune2012-12-211-14/+2
|
* revises a RDoc example to make it idiomaticXavier Noria2012-12-071-8/+8
| | | | | | The force flag suggests the original was probably copied from some db/schema.rb. Thanks to Josh Susser for spotting and reporting this.
* Add rename_index to change_table.Jarek Radosz2012-11-191-0/+8
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-031-21/+21
|\ | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md
| * Migration of docs to 1.9 hash syntaxAvnerCohen2012-10-231-21/+21
| |
* | raise `ArgumentError` when redefining the primary key column. Closes #6378Yves Senn2012-10-281-0/+9
|/
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
|
* revert Default timestamps to non-nullDave Kroondyk2012-07-181-1/+1
| | | | | | | Commit 3dbedd2 added NOT NULL constraints to timestamps. Commit fcef728 started to revert this, but was incomplete. With this commit, 3dbedd2 should be fully reverted and timestamps will no longer default to NOT NULL.
* Don't need to use delete in the options hashRafael Mendonça França2012-07-031-1/+1
|
* Refactor references schema definitionsAleksey Magusev2012-07-031-18/+12
|
* Integer limit out of range should be allowed to raise. Closes #6272Erich Menge2012-05-161-1/+1
|
* remove unnecessary 'examples' noise [ci skip]Vijay Dev2012-05-111-13/+11
|
* Refactored remove_columnEdgars Beigarts2012-05-021-1/+1
|
* Automatically create indexes for references/belongs_to statements in migrations.Joshua Wood2012-04-141-4/+20
|
* Add documentation for IndexDefinition.Waseem Ahmad2012-03-021-0/+3
|
* Made schema dumper recognize partial indices' where statementsMarcelo Silveira2012-02-091-1/+1
|
* fix commentsVijay Dev2011-12-091-4/+2
|
* Use a hash to look up column definitionsAaron Patterson2011-12-071-2/+3
|
* try to normalize the objects passed to column()Aaron Patterson2011-12-071-9/+11
|