Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | maintain return value for recreate_database | Aaron Patterson | 2013-04-30 | 1 | -1/+2 |
| | |||||
* | mysql needs to reconnect after recreate. Thanks @mperham | Aaron Patterson | 2013-04-30 | 1 | -0/+1 |
| | |||||
* | StatementInvalid takes WrappedDatabaseException's place | Jeremy Kemper | 2013-04-28 | 2 | -2/+2 |
| | |||||
* | Move method used only in the test to the test code itself | Ivan Kataitsev | 2013-04-25 | 1 | -8/+0 |
| | |||||
* | fix typos | Vipul A M | 2013-04-21 | 1 | -1/+1 |
| | |||||
* | Fix loading of fixtures when the column type is a postgres array of strings. | Chris Constantine | 2013-04-18 | 1 | -1/+1 |
| | | | | - A string in an array of strings that has a quote char (') needs to have that quote char escaped if the array is getting wrapped in quote chars. | ||||
* | Revert "Merge pull request #10043 from cconstantine/master" | Rafael Mendonça França | 2013-04-18 | 1 | -15/+0 |
| | | | | | | | This reverts commit 521035af530482d6d9ad2dae568eaeb0ab188e1c, reversing changes made to 222011dbee842bbc60d3aaaa3145356b90a30fd1. Reason: This broke the tests | ||||
* | Merge pull request #10043 from cconstantine/master | Rafael Mendonça França | 2013-04-18 | 1 | -0/+15 |
|\ | | | | | DB with postgres string array column doesn't load fixtures well | ||||
| * | Fix loading of string arrays in postgres | Chris Constantine | 2013-04-08 | 1 | -0/+15 |
| | | |||||
* | | Fix #7619. 0x prefix must be added when assigning hexadecimal string into ↵ | kennyj | 2013-04-17 | 1 | -2/+4 |
| | | | | | | | | bit column in Postgresql, because solving ambiguity. | ||||
* | | Add OID::Bit for supporting bit string. | kennyj | 2013-04-16 | 2 | -2/+19 |
| | | |||||
* | | fix for the bytea/binary nil value bug | Matt Aimonetti | 2013-04-14 | 1 | -0/+1 |
|/ | |||||
* | Correctly parse bigint defaults in PostgreSQL | Erik Peterson | 2013-04-05 | 1 | -1/+1 |
| | |||||
* | Per #9999 revert the revert changing so columns are only tested for empty? ↵ | Sam | 2013-04-03 | 1 | -4/+4 |
| | | | | | | as opposed to blank? This is both faster and more correct, added tests to make sure this is not reverted again. | ||||
* | Merge pull request #10010 from pwnall/fix_ref_index_true | Rafael Mendonça França | 2013-04-01 | 1 | -1/+1 |
|\ | | | | | Make references with index:true pass Hash options to add_index | ||||
| * | Make references with index:true pass Hash options to add_index. | Victor Costan | 2013-04-01 | 1 | -1/+1 |
| | | |||||
* | | fix detect column type of enum | masarakki | 2013-04-01 | 1 | -2/+2 |
|/ | | | | enum includes text or blob or ... hooked by wrong regex | ||||
* | Refactor index algorithm lookup so that it only builds the available options ↵ | Carlos Antonio da Silva | 2013-03-30 | 1 | -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. | ||||
* | Minor doc improvement about index algorithms [ci skip] | Carlos Antonio da Silva | 2013-03-30 | 1 | -3/+2 |
| | |||||
* | Do not calculate values if they are not going to be used | Carlos Antonio da Silva | 2013-03-30 | 1 | -7/+9 |
| | | | | | | | | | When building the indexes list in PostgreSQL, IndexDefinition objects are only created if the query for the related attributes really returns something matching the attributes. In case it does not, the variables for building the definition objects were being created but not used. | ||||
* | Make docs a little bit more consistent with colons [ci skip] | Carlos Antonio da Silva | 2013-03-30 | 1 | -9/+9 |
| | |||||
* | Fix code examples indent in new index options docs [ci skip] | Carlos Antonio da Silva | 2013-03-30 | 1 | -3/+3 |
| | |||||
* | Use new hash style in doc examples [ci skip] | Carlos Antonio da Silva | 2013-03-30 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-30 | 4 | -7/+7 |
|\ | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip] | ||||
| * | nodoc AR::ConnectionHandling for adapters [ci skip] | Francesco Rodriguez | 2013-03-15 | 4 | -7/+7 |
| | | |||||
| * | Unmatched parenthesis fix | Robin Dupret | 2013-03-15 | 1 | -1/+1 |
| | | |||||
* | | added comments to test_invalid_type in sqlite3 adapter test and added ↵ | Ranjay Krishna | 2013-03-28 | 2 | -4/+4 |
| | | | | | | | | valid_type? method to abstract_adapter.rb and removed unnecessary method from sqlite3 adapter | ||||
* | | Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL. | Ken Mazaika | 2013-03-27 | 4 | -6/+25 |
| | | |||||
* | | Merge pull request #9928 from vipulnsward/fix_rename_auto_increment_mysql | Rafael Mendonça França | 2013-03-26 | 4 | -10/+14 |
|\ \ | | | | | | | respect auto_increment in rename_column for mysql | ||||
| * | | respect auto_increment in rename_column for mysql | Vipul A M | 2013-03-27 | 4 | -10/+14 |
| | | | |||||
* | | | Checks :algorithm argument for valid values | Dan McClain | 2013-03-26 | 1 | -1/+7 |
| | | | |||||
* | | | Adds support for concurrent indexing in PostgreSQL adapter | Dan McClain | 2013-03-25 | 5 | -14/+24 |
|/ / | | | | | | | | | | | | | | | 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 | ||||
* | | Fix typo | Rafael Mendonça França | 2013-03-25 | 1 | -1/+1 |
| | | |||||
* | | The sql_type method called here is from | Rafael Mendonça França | 2013-03-25 | 2 | -7/+6 |
| | | | | | | | | | | | | | | ActiveRecord::ConnectionAdapters::Column See https://github.com/rails/rails/blob/28b8ca766e3e7c6c43d3ae900c99f8377153c62/activerecord/lib/active_record/connection_adapters/column.rb#L16 | ||||
* | | Move away from column.sql_type in untested code too | Martin Schürrer | 2013-03-25 | 1 | -5/+6 |
| | | |||||
* | | Make Postgres point type correspond to ruby array with two floats inside | Martin Schürrer | 2013-03-25 | 4 | -6/+43 |
| | | |||||
* | | Created a layer of abstraction for the valid type checking in schema dumper. ↵ | Ranjay Krishna | 2013-03-25 | 3 | -0/+12 |
| | | | | | | | | Now, connection handles the check for valid types so that each database can handle the changes individually. | ||||
* | | Merge branch 'jlxw-patch-2' | Rafael Mendonça França | 2013-03-23 | 1 | -2/+2 |
|\ \ | | | | | | | | | | Closes #9184 | ||||
| * | | Fix regex to strip quotations from hstore values | jlxw | 2013-03-23 | 1 | -2/+2 |
| | | | | | | | | | | | | Previously regex did not strip quotation marks where hstore values were multi-line strings. | ||||
* | | | Custom index type support with :using. | doabit | 2013-03-24 | 4 | -4/+31 |
|/ / | |||||
* | | Autoload the AlterTable class | Rafael Mendonça França | 2013-03-23 | 1 | -0/+1 |
| | | |||||
* | | add uuid primary key support | Aaron Patterson | 2013-03-22 | 4 | -3/+20 |
| | | |||||
* | | separate primary key from column type | Aaron Patterson | 2013-03-22 | 1 | -10/+11 |
| | | |||||
* | | push the mysql add_column up to the abstract adapter | Aaron Patterson | 2013-03-22 | 4 | -22/+35 |
| | | |||||
* | | allow multiple add columns | Aaron Patterson | 2013-03-22 | 3 | -6/+6 |
| | | |||||
* | | pull add_column_options! off the pg connection class | Aaron Patterson | 2013-03-22 | 2 | -13/+13 |
| | | |||||
* | | add a pg visitor for dealing with schema modification | Aaron Patterson | 2013-03-22 | 1 | -4/+21 |
| | | |||||
* | | push alter table add column sql in to the schema modification visitor | Aaron Patterson | 2013-03-22 | 3 | -14/+51 |
| | | |||||
* | | there is no reason to check for an already defined column | Aaron Patterson | 2013-03-22 | 1 | -1/+1 |
| | | |||||
* | | push column initialization down to the factory method | Aaron Patterson | 2013-03-22 | 1 | -13/+13 |
| | |