Commit b793f51
committed
Fix R*Tree migration example in CHANGELOG.md
- Change table creation syntax from create table(:geo_regions, rtree: true)
to create table(:geo_regions, options: [rtree: true]) to properly set
table.options
- Remove explicit id column addition (Ecto creates it automatically)
- Normalize wording to 'multidimensional' for consistency
- Align with test patterns in test/rtree_test.exs and adapter's
Keyword.get(table.options, :rtree, false) check1 parent 97222c3 commit b793f51
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
0 commit comments