Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Postgresql tests] remove duplicate helper | Abdelkader Boudih | 2014-06-28 | 1 | -12/+3 |
| | |||||
* | test, use `columns_hash[]` in place of `columns.find {}`. | Yves Senn | 2014-05-12 | 1 | -2/+2 |
| | |||||
* | test, reset changed state in PG's uuid tests. | Yves Senn | 2014-05-08 | 1 | -2/+4 |
| | | | | | | | | | | | | | This resulted in some unrelated errors on Traivs: 1) Error: PostgresqlUUIDTest#test_treat_blank_uuid_as_nil: ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column "thingy" of relation "uuid_data_type" does not exist LINE 1: INSERT INTO "uuid_data_type" ("thingy") VALUES ($1) RETURNIN... ^ : INSERT INTO "uuid_data_type" ("thingy") VALUES ($1) RETURNING "id" /cc @zuhao | ||||
* | Changed change_column in PG schema_statements.rb to make sure that the ↵ | Eric Chahin | 2014-04-15 | 1 | -0/+13 |
| | | | | uuid_generate function was not being quoted. | ||||
* | Treat blank UUID values as nil | Dmitry Lavrov | 2014-04-03 | 1 | -0/+5 |
| | |||||
* | PostgreSQL, test cases to lock the current column types. | Yves Senn | 2014-03-28 | 1 | -1/+7 |
| | |||||
* | extract common code in `uuid_test.rb`. | Yves Senn | 2014-02-26 | 1 | -60/+57 |
| | |||||
* | move PostgreSQL UUID tests from `datatype_test.rb` to `uuid_test.rb`. | Yves Senn | 2014-02-26 | 1 | -0/+35 |
| | |||||
* | Don't skip tests if we don't need to. | Rafael Mendonça França | 2013-11-08 | 1 | -34/+46 |
| | | | | | | | We can conditional define the tests depending on the adapter or connection. Lets keep the skip for fail tests that need to be fixed. | ||||
* | Dump the default function when the primary key is uuid | Rafael Mendonça França | 2013-10-14 | 1 | -2/+2 |
| | | | | Fixes #12489 | ||||
* | Merge pull request #11382 from kennyj/fix_10751-2 | Rafael Mendonça França | 2013-09-22 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | Dump UUID default functions to schema.rb [2nd version]. Fixes #10751. Conflicts: activerecord/CHANGELOG.md | ||||
| * | Migration dump UUID default functions to schema.rb. Fixes #10751. | kennyj | 2013-07-10 | 1 | -0/+1 |
| | | |||||
* | | Fixed a bug in when using has_many association with :inverse_of option and ↵ | kennyj | 2013-05-08 | 1 | -0/+40 |
|/ | | | | UUID primary key. | ||||
* | fix to remove warning on postgres adapter test. | Akshay Khole | 2013-05-05 | 1 | -1/+1 |
| | | | | | Warning was: "/vagrant/rails/activerecord/test/cases/adapters/postgresql/uuid_test.rb:63: warning: ambiguous first argument; put parentheses or even spaces" | ||||
* | Make SchemaDumper emit "id: :uuid" when appropriate. Fixes #10451. | Brian Buchanan | 2013-05-03 | 1 | -0/+12 |
| | |||||
* | Improve docs for postgresql with uuid primary keys [ci skip] | Carlos Antonio da Silva | 2013-05-01 | 1 | -1/+0 |
| | | | | Introduced in 09ac1776abc0d3482f491f2d49f47bcb3d9a4ad7. | ||||
* | allow override of uuid_generate_v4() default by passing default: nil | Chad Moone | 2013-05-01 | 1 | -0/+31 |
| | | | | without this, it's not possible to use UUID primary keys without uuid-ossp installed and activated | ||||
* | add uuid primary key support | Aaron Patterson | 2013-03-22 | 1 | -0/+10 |
| | |||||
* | you can provide uuid_generate_v4 as the default value for uuid columns | Aaron Patterson | 2013-03-14 | 1 | -0/+43 |