Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Cast number to string in Postgres | Łukasz Strzałkowski | 2013-03-12 | 1 | -3/+6 | |
| | | | | fixes #9170 | |||||
* | Fix cases where delete_records on a has_many association caused errors | Derek Kraan | 2013-01-27 | 1 | -0/+4 | |
| | | | | | | | | | | | | | because of an ambiguous column name. This happened if the association model had a default scope that referenced a third table, and the third table also referenced the original table (with an identical foreign_key). Mysql requires that ambiguous columns are deambiguated by using the full table.column syntax. Postgresql and Sqlite use a different syntax for updates altogether (and don't tolerate table.name syntax), so the fix requires always including the full table.column and discarding it later for Sqlite and Postgresql. | |||||
* | Add postgresql range types support | bUg | 2013-01-23 | 1 | -10/+9 | |
| | ||||||
* | AR supporting new intrange data type on PostgreSQL >= 9.2 | Alexey | 2012-12-16 | 1 | -0/+10 | |
| | ||||||
* | Fix postgresql adapter to handle bc timestamps correctly | Bogdan Gusiev | 2012-11-21 | 1 | -3/+7 | |
| | ||||||
* | Fix typo in inet and cidr saving | Miguel Herranz | 2012-10-14 | 1 | -1/+1 | |
| | ||||||
* | Moves column dump specific code to a module included in AbstractAdapter | Dan McClain | 2012-09-14 | 1 | -6/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having column related schema dumper code in the AbstractAdapter. The code remains the same, but by placing it in the AbstractAdapter, we can then overwrite it with Adapter specific methods that will help with Adapter specific data types. The goal of moving this code here is to create a new migration key for PostgreSQL's array type. Since any datatype can be an array, the goal is to have ':array => true' as a migration option, turning the datatype into an array. I've implemented this in postgres_ext, the syntax is shown here: https://github.com/dockyard/postgres_ext#arrays Adds array migration support Adds array_test.rb outlining the test cases for array data type Adds pg_array_parser to Gemfile for testing Adds pg_array_parser to postgresql_adapter (unused in this commit) Adds schema dump support for arrays Adds postgres array type casting support Updates changelog, adds note for inet and cidr support, which I forgot to add before Removing debugger, Adds pg_array_parser to JRuby platform Removes pg_array_parser requirement, creates ArrayParser module used by PostgreSQLAdapter | |||||
* | indent fix [ci skip] | Vijay Dev | 2012-09-09 | 1 | -1/+1 | |
| | ||||||
* | ActiveRecord support to PostgreSQL 9.2 JSON type | Dickson S. Guedes | 2012-09-05 | 1 | -2/+6 | |
| | | | | | | | | | This implements the support to encode/decode JSON data to/from database and creating columns of type JSON using a native type [1] supported by PostgreSQL from version 9.2. [1] http://www.postgresql.org/docs/9.2/static/datatype-json.html | |||||
* | Modularize postgresql adapter | Konstantin Shabanov | 2012-09-05 | 1 | -0/+120 | |