Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using index_xinfo, only available in sqlite >= 3.8.9 | Paul Kuruvilla | 2017-10-25 | 1 | -9/+12 |
| | |||||
* | Save index order :desc to schema.rb (sqlite). Fixes #30902 | Paul Kuruvilla | 2017-10-24 | 1 | -2/+9 |
| | | | | | Although the sqlite adapter supports index sort orders, they weren't being written to db/schema.rb. | ||||
* | Remove deprecated argument `name` from `#indexes` | Rafael Mendonça França | 2017-10-23 | 1 | -7/+1 |
| | |||||
* | Move integer-like primary key normalization to `new_column_definition` | Ryuta Kamizono | 2017-09-23 | 1 | -4/+0 |
| | | | | | | Currently the normalization only exists in `primary_key` shorthand. It should be moved to `new_column_definition` to also affect to `add_column` with primary key. | ||||
* | Refactor `SchemaDumper` to make it possible to adapter specific customization | Ryuta Kamizono | 2017-08-22 | 1 | -0/+4 |
| | | | | | | | Currently `SchemaDumper` is only customizable for column options. But 3rd party connection adapters (oracle-enhanced etc) need to customizable for table or index dumping also. To make it possible, I introduced adapter specific `SchemaDumper` classes for that. | ||||
* | Place `update_table_definition` consistently in `SchemaStatements` | Ryuta Kamizono | 2017-08-21 | 1 | -0/+4 |
| | |||||
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Merge pull request #29540 from kirs/rubocop-frozen-string | Matthew Draper | 2017-07-02 | 1 | -0/+1 |
|\ | | | | | | | Enforce frozen string in Rubocop | ||||
| * | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #29506 from pat/frozen-string-literals | Matthew Draper | 2017-07-02 | 1 | -1/+1 |
|\ \ | | | | | | | | | | Make ActiveSupport frozen-string-literal friendly. | ||||
| * | | Make ActiveRecord frozen string literal friendly. | Pat Allan | 2017-06-20 | 1 | -1/+1 |
| |/ | |||||
* / | Don't cache queries for schema statements | Ryuta Kamizono | 2017-06-30 | 1 | -1/+1 |
|/ | | | | | | `test_middleware_caches` is sometimes failed since #29454. The failure is due to schema statements are affected by query caching. Bypassing query caching for schema statements to avoid the issue. | ||||
* | Refactor `indexes` things in connection adapters | Ryuta Kamizono | 2017-04-16 | 1 | -0/+35 |
| | | | | | | | * Use keyword arguments in `IndexDefinition` to ease to ignore unused options and to avoid to initialize incorrect empty value. * Place it in `SchemaStatements` for consistency. * And tiny tweaks. | ||||
* | Make internal methods to private | Ryuta Kamizono | 2017-03-27 | 1 | -0/+25 |
| | |||||
* | Extract `data_source_sql` to refactor data source statements | Ryuta Kamizono | 2017-02-20 | 1 | -0/+32 |