|
270 | 270 |
|
271 | 271 | The behavior now is:
|
272 | 272 |
|
273 |
| - `columns`: (unchanged) raises a db error if the table does not exist |
274 |
| - `columns_hash`: (unchanged) raises a db error if the table does not exist |
275 |
| - `primary_keys`: (unchanged) returns `nil` if the table does not exist |
276 |
| - `indexes`: (changed for mysql2) returns `[]` if the table does not exist |
| 273 | + `columns`: (unchanged) raises a db error if the table does not exist. |
| 274 | + `columns_hash`: (unchanged) raises a db error if the table does not exist. |
| 275 | + `primary_keys`: (unchanged) returns `nil` if the table does not exist. |
| 276 | + `indexes`: (changed for mysql2) returns `[]` if the table does not exist. |
277 | 277 |
|
278 | 278 | *Eileen M. Uchitelle*
|
279 | 279 |
|
|
418 | 418 | * Add option to disable schema dump per-database.
|
419 | 419 |
|
420 | 420 | Dumping the schema is on by default for all databases in an application. To turn it off for a
|
421 |
| - specific database use the `schema_dump` option: |
| 421 | + specific database, use the `schema_dump` option: |
422 | 422 |
|
423 | 423 | ```yaml
|
424 | 424 | # config/database.yml
|
|
617 | 617 |
|
618 | 618 | * Fix compatibility with `psych >= 4`.
|
619 | 619 |
|
620 |
| - Starting in Psych 4.0.0 `YAML.load` behaves like `YAML.safe_load`. To preserve compatibility |
| 620 | + Starting in Psych 4.0.0 `YAML.load` behaves like `YAML.safe_load`. To preserve compatibility, |
621 | 621 | Active Record's schema cache loader and `YAMLColumn` now uses `YAML.unsafe_load` if available.
|
622 | 622 |
|
623 | 623 | *Jean Boussier*
|
|
1147 | 1147 |
|
1148 | 1148 | *Eileen M. Uchitelle*, *John Crepezzi*
|
1149 | 1149 |
|
1150 |
| -* Support hash config for `structure_dump_flags` and `structure_load_flags` flags |
1151 |
| - Now that Active Record supports multiple databases configuration |
| 1150 | +* Support hash config for `structure_dump_flags` and `structure_load_flags` flags. |
| 1151 | + Now that Active Record supports multiple databases configuration, |
1152 | 1152 | we need a way to pass specific flags for dump/load databases since
|
1153 | 1153 | the options are not the same for different adapters.
|
1154 | 1154 | We can use in the original way:
|
|
0 commit comments