Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make `:auto_increment` option works on `:bigint` | Ryuta Kamizono | 2016-12-06 | 1 | -2/+6 |
| | | | | Follow up to #27272. | ||||
* | Make `:auto_increment` to internal primary key option | Ryuta Kamizono | 2016-12-06 | 1 | -1/+6 |
| | | | | | | Using `:auto_increment` option for abstracting the DB-specific auto incremental types. It is worth to ease to implement the compatibility layer. | ||||
* | Followup of UUID default extension in the docs [ci skip] | Prathamesh Sonpatki | 2016-11-24 | 1 | -5/+15 |
| | | | | | | | - Mentioned clearly that for PostgreSQL < 9.4, you need to pass the default option with "uuid_generate_v4()" - Also updated PostgreSQL Active Record guide with this change. - https://github.com/rails/rails/pull/25395#r66877078 | ||||
* | For `PostgreSQL >= 9.4` use `gen_random_uuid()` | Yaw Boakye | 2016-11-22 | 1 | -8/+9 |
| | | | | | | | | | | Since 9.4, PostgreSQL recommends using `pgcrypto`'s `gen_random_uuid()` to generate version 4 UUIDs instead of the functions in the `uuid-ossp` extension. These changes uses the appropriate UUID function depending on the underlying PostgreSQL server's version, while maintaining `uuid_generate_v4()` in older migrations. | ||||
* | applies new string literal convention in activerecord/lib | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Add missing data types for ActiveRecord migrations | Mehmet Emin İNAÇ | 2015-06-08 | 1 | -0/+24 |
| | |||||
* | The short-hand methods should be able to define multiple columns | Ryuta Kamizono | 2015-02-23 | 1 | -44/+50 |
| | |||||
* | Extract `primary_key` method into `ColumnMethods` | Ryuta Kamizono | 2015-02-22 | 1 | -33/+33 |
| | |||||
* | Add default options to 'bit' and 'bit_varying' methods | Melody | 2015-02-03 | 1 | -2/+2 |
| | |||||
* | Adds default options hash for postgres money type | Melody Berton | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Refactor `PostgreSQL::TableDefinition#primary_key` | Ryuta Kamizono | 2014-12-27 | 1 | -4/+2 |
| | | | | | Because call the `column` method and set the `options[:primary_key]` is handled at `super`, here need only treat the `options[:default]`. | ||||
* | Move column option handling to new_column_definition | Ryuta Kamizono | 2014-09-03 | 1 | -5/+3 |
| | | | | | TableDefinition#column is not called from `add_column`. Use TableDefinition#new_column_definition for column option handling. | ||||
* | Add support for Postgresql JSONB | Philippe Creux | 2014-07-24 | 1 | -0/+4 |
| | | | | [Philippe Creux, Chris Teague] | ||||
* | pg, preserve money type when dumping schema and extract money default. | Yves Senn | 2014-06-03 | 1 | -0/+4 |
| | |||||
* | Respect limit for PG bit strings | Sean Griffin | 2014-06-03 | 1 | -19/+19 |
| | |||||
* | pg, preserve type when schema dumping bit and bit varying columns. | Yves Senn | 2014-06-03 | 1 | -0/+8 |
| | |||||
* | pg, preserve point type when schema dumping. | Yves Senn | 2014-06-03 | 1 | -0/+4 |
| | |||||
* | pg, remove duplicated code. | Yves Senn | 2014-05-24 | 1 | -4/+0 |
| | |||||
* | pg, extract schema definitions into separate file. | Yves Senn | 2014-05-24 | 1 | -0/+138 |
This mirrors the layout of abstract adapter and puts the definitions inside the `PostgreSQL` namespace (no longer under the adapter namespace). /cc @kares |