strong_migrations 0.7.6 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f16481df30c6b961477b4a537034097aa1d41a262bd7f2741c40b7e6dae9cb9e
4
- data.tar.gz: 816bc9a4f9810bce6ac6d5e0a52b185800515794ca5e3d27b5f4d512a9190115
3
+ metadata.gz: 0b621e800497f9e9c77e0208a899f7e8d17a944caa61dffdea80911e8ddd5ead
4
+ data.tar.gz: 3f7d4275c416db6b954c1c2e1109ad5118a1c0a7cc6eb25a81203f82a4e47b35
5
5
  SHA512:
6
- metadata.gz: 2ac9f7c38958c1cc2e80efa3f895730087ac92a3675be31c308f9f8df827ced3323ca8bc3e69c99e2a79b92ef0a5a8b595a76715bf55c45b5698fcdd43b5a586
7
- data.tar.gz: 2cee8d3013ae8780f0bcbce33f22a219375c29f059335902cdfe2285ec557307229b7ec4544e6be59ea1ee7cd039f2b23e9b3693efc41f11f677cbbed1495896
6
+ metadata.gz: '0243834c1f5b12bc637a00b49f8b7eb773dcdd5b8592a354b705d72b6e5b6a728babfb12fc3d058093086529ebfe7de34abd9f1c834bc95323b01f8a48417445'
7
+ data.tar.gz: a24deb56f0adbe0206791b9155707489d03c02f021842f9284eaadcf5a2b99c30fe6f3ae2c51fef15fc5fef9bf7066b1a72f84c446ed8c12919c43f29eee9f95
data/CHANGELOG.md CHANGED
@@ -1,3 +1,125 @@
1
+ ## 1.7.0 (2024-01-05)
2
+
3
+ - Added check for `add_unique_constraint`
4
+
5
+ ## 1.6.4 (2023-10-17)
6
+
7
+ - Fixed false positives with `revert`
8
+
9
+ ## 1.6.3 (2023-09-20)
10
+
11
+ - Added support for Trilogy
12
+
13
+ ## 1.6.2 (2023-09-13)
14
+
15
+ - Fixed foreign key options with `add_reference` and `safe_by_default`
16
+ - Fixed `safety_assured` with `revert`
17
+
18
+ ## 1.6.1 (2023-08-09)
19
+
20
+ - Fixed `safety_assured` for custom checks with `safe_by_default`
21
+
22
+ ## 1.6.0 (2023-07-22)
23
+
24
+ - Added check for `change_column_default`
25
+
26
+ ## 1.5.0 (2023-07-02)
27
+
28
+ - Added check for `add_column` with stored generated columns
29
+ - Fixed `add_reference` with `foreign_key` and `index: false`
30
+
31
+ ## 1.4.4 (2023-03-08)
32
+
33
+ - Fixed `add_foreign_key` with `name` and `column` options with `safe_by_default`
34
+
35
+ ## 1.4.3 (2023-02-19)
36
+
37
+ - Fixed check for `change_column` to account for charset with MySQL and MariaDB
38
+
39
+ ## 1.4.2 (2023-01-29)
40
+
41
+ - Added `alphabetize_schema` option
42
+
43
+ ## 1.4.1 (2023-01-05)
44
+
45
+ - Added support for multiple databases to `target_version`
46
+
47
+ ## 1.4.0 (2022-10-31)
48
+
49
+ - Added check for `add_exclusion_constraint`
50
+ - Added support for `RACK_ENV`
51
+ - Fixed error when `Rails` defined without `Rails.env`
52
+ - Fixed error with `change_column_null` when table does not exist
53
+
54
+ ## 1.3.2 (2022-10-09)
55
+
56
+ - Improved error message for `add_column` with `default: nil` with Postgres 10
57
+
58
+ ## 1.3.1 (2022-09-21)
59
+
60
+ - Fixed check for `add_column` with `default: nil` with Postgres 10
61
+
62
+ ## 1.3.0 (2022-08-30)
63
+
64
+ - Added check for `add_column` with `uuid` type and volatile default value
65
+
66
+ ## 1.2.0 (2022-06-10)
67
+
68
+ - Added check for index corruption with Postgres 14.0 to 14.3
69
+
70
+ ## 1.1.0 (2022-06-08)
71
+
72
+ - Added check for `force` option with `create_join_table`
73
+ - Improved errors for extra arguments
74
+ - Fixed ignoring extra arguments with `safe_by_default`
75
+ - Fixed missing options with `remove_index` and `safe_by_default`
76
+
77
+ ## 1.0.0 (2022-03-21)
78
+
79
+ New safe operations with MySQL and MariaDB
80
+
81
+ - Setting `NOT NULL` on an existing column with strict mode enabled
82
+
83
+ New safe operations with Postgres
84
+
85
+ - Changing between `text` and `citext` when not indexed
86
+ - Changing a `string` column to a `citext` column when not indexed
87
+ - Changing a `citext` column to a `string` column with no `:limit` when not indexed
88
+ - Changing a `cidr` column to an `inet` column
89
+ - Increasing `:precision` of an `interval` or `time` column
90
+
91
+ New unsafe operations with Postgres
92
+
93
+ - Adding a column with a callable default value
94
+ - Decreasing `:precision` of a `datetime` column
95
+ - Decreasing `:limit` of a `timestamptz` column
96
+ - Passing a default value to `change_column_null`
97
+
98
+ Other
99
+
100
+ - Added experimental support for lock timeout retries
101
+ - Added `target_sql_mode` option
102
+ - Added error for `change_column_null` with default value with `safe_by_default` option
103
+ - Fixed instructions for `remove_columns` with options
104
+ - Dropped support for Postgres < 10, MySQL < 5.7, and MariaDB < 10.2
105
+
106
+ ## 0.8.0 (2022-02-09)
107
+
108
+ - Fixed error with versioned schema with Active Record 7.0.2+
109
+ - Dropped support for Ruby < 2.6 and Active Record < 5.2
110
+
111
+ ## 0.7.9 (2021-12-15)
112
+
113
+ - Fixed error with multiple databases with Active Record 7
114
+
115
+ ## 0.7.8 (2021-08-03)
116
+
117
+ - Fixed issue with `add_reference ..., foreign_key: {to_table: ...}` with `safe_by_default`
118
+
119
+ ## 0.7.7 (2021-06-07)
120
+
121
+ - Removed timeouts and `auto_analyze` from schema load
122
+
1
123
  ## 0.7.6 (2021-01-17)
2
124
 
3
125
  - Fixed `NOT NULL` constraint check for quoted columns
@@ -127,7 +249,7 @@
127
249
  ## 0.2.2 (2018-02-14)
128
250
 
129
251
  - Friendlier output
130
- - Better method of hooking into ActiveRecord
252
+ - Better method of hooking into Active Record
131
253
 
132
254
  ## 0.2.1 (2018-02-07)
133
255
 
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Bob Remeika and David Waller, 2015-2021 Andrew Kane
1
+ Copyright (c) 2013 Bob Remeika and David Waller, 2015-2022 Andrew Kane
2
2
 
3
3
  MIT License
4
4