aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract
Commit message (Collapse)AuthorAgeFilesLines
* Move method used only in the test to the test code itselfIvan Kataitsev2013-04-251-8/+0
|
* Make references with index:true pass Hash options to add_index.Victor Costan2013-04-011-1/+1
|
* Refactor index algorithm lookup so that it only builds the available options ↵Carlos Antonio da Silva2013-03-301-4/+4
| | | | | | | | | | | once This way the available options are only built for actually fetching the algorithm in case the option is given. The options are going to be necessary a second time only in case the option is given but does not exist, which is supposed to be due to a typo or something like that, so no problem.
* Make docs a little bit more consistent with colons [ci skip]Carlos Antonio da Silva2013-03-301-9/+9
|
* Fix code examples indent in new index options docs [ci skip]Carlos Antonio da Silva2013-03-301-3/+3
|
* Use new hash style in doc examples [ci skip]Carlos Antonio da Silva2013-03-301-2/+2
|
* Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL.Ken Mazaika2013-03-272-2/+15
|
* Merge pull request #9928 from vipulnsward/fix_rename_auto_increment_mysqlRafael Mendonça França2013-03-261-0/+3
|\ | | | | respect auto_increment in rename_column for mysql
| * respect auto_increment in rename_column for mysqlVipul A M2013-03-271-0/+3
| |
* | Checks :algorithm argument for valid valuesDan McClain2013-03-261-1/+7
| |
* | Adds support for concurrent indexing in PostgreSQL adapterDan McClain2013-03-251-2/+5
|/ | | | | | | | Adds support for algorithm option in MySQL indexes Moves USING and algorithm options upstream The syntax is still specific to the Adapter, so the actual executed string happens in the corresponding adapter
* The sql_type method called here is fromRafael Mendonça França2013-03-251-1/+1
| | | | | | | ActiveRecord::ConnectionAdapters::Column See https://github.com/rails/rails/blob/28b8ca766e3e7c6c43d3ae900c99f8377153c62/activerecord/lib/active_record/connection_adapters/column.rb#L16
* Custom index type support with :using.doabit2013-03-242-3/+10
|
* add uuid primary key supportAaron Patterson2013-03-222-3/+4
|
* 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-222-9/+30
|
* 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-222-9/+9
|
* mostly decouple TableDefinition from the database connectionAaron Patterson2013-03-222-4/+4
|
* remove to_sql from TableDefinitionAaron Patterson2013-03-222-9/+1
|
* 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
|
* use `connect_poll` on pg so that reaping does not hurt the connectionAaron Patterson2013-03-201-1/+3
|
* Revert "default the reaping frequency to 10 seconds"Aaron Patterson2013-03-201-1/+1
| | | | | | | mysql can't handle a parallel thread pinging the connection, so we can get wrong results or segvs This reverts commit 7cc588b684f6d1af3e7fab1edfa6715e269e41a2.
* fix typos in AR. lots of them.Vipul A M2013-03-192-2/+2
|
* Refactored to reuse methodAnupam Choudhury2013-03-151-2/+2
|
* ask column if it is a pkAaron Patterson2013-03-141-1/+5
|
* clean up pk delclaration in `create_table`Aaron Patterson2013-03-141-1/+8
|
* 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
|
* Fix typo [ci skip]Carlos Antonio da Silva2013-03-111-1/+1
|
* promotes change_column_null to the migrations APIXavier Noria2013-03-111-0/+20
|
* quick pass over the RDoc of schema_statements.rb [ci skip]Xavier Noria2013-03-111-122/+190
|
* documents how to DROP DEFAULT [ci skip]Xavier Noria2013-03-111-3/+7
|
* default the reaping frequency to 10 secondsAaron Patterson2013-03-111-1/+1
|
* Make sure options is a hashRafael Mendonça França2013-03-081-1/+3
|
* If an index can't be found by column, use the index name.Ezekiel Smithburg2013-03-071-0/+6
| | | | schema_statements uses the column name by default to construct the index name, and then raises an exception if it doesn't exist, even if the name option is specified, which causes #8858. this commit makes index_name_for_remove fall back to constructing the index name to remove based on the name option.
* SQLite3 3.6.8+ supports savepointsNeeraj Singh2013-03-071-1/+2
| | | | | http://www.sqlite.org/lang_savepoint.html https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L130-L132
* `Connection#structure_dump` is no longer used. #9518Yves Senn2013-03-061-5/+0
| | | | | | | As of ccc6910c we use `mysqldump` to create the `structure.sql`. The old `#structure_dump` code is still in AR but never used. I removed all relevant parts from the code-base.
* Support PostgreSQL specific column types when using `change_table`.Yves Senn2013-02-281-4/+8
| | | | | | | | Closes #9480. We use `TableDefinition` for `#create_table` and `Table` for `#change_table`. The PostgreSQL sepcifc types were only defined on `TableDefinition` so I also added them to `Table`.