strong_migrations 0.6.8 → 1.2.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: f64d60856479de1a9071b64be2186256e619c30a6caea46d2f8094fb1d3ded4b
4
- data.tar.gz: 586c15c10b53ba6273685d3d4bbeaa84f0c23fc973643abac1a2687d3ad2e986
3
+ metadata.gz: 4c0ea5c8cf3e904b89b8c4ab2f28ff60031515e40edf5b0c617ca4b8f8249650
4
+ data.tar.gz: 5cb0fd63058bf618595cd929ef90de3cf90f02963f0adca21182c578f41c3320
5
5
  SHA512:
6
- metadata.gz: d5aac390d0d1f965819311ec4ad0cc18b66eb310768f5ed95635670ca646f8804cf0fb672c94f4f1b59f6d812b027cc2d666607bf9b55d5a5f58f37726056d8c
7
- data.tar.gz: f0ec6e96d589aa99df461bbcc29201142a25a74a951edbbdf72c49e8a1d81a58623ccb6f049d2630a5cbd517f9edf9119511087d51da90f95c9794a13f5c1fb1
6
+ metadata.gz: 50db9d240d49b60b75d97c76765b8f5e3b252c2cc826bd5e50e9b57311082dfea2c9cc5790fd905a2eac45a3eb6afb2784c7ed7962dcaf0172157548e1c8d233
7
+ data.tar.gz: 2f2e5311cad061b712ee9dfb69a41b5e81f31be8db257bd095cbd8124bc461551afebb305d95b0bb090d6f7ef85c61618d61e64e9b73f266338a0aa7f5101b53
data/CHANGELOG.md CHANGED
@@ -1,3 +1,96 @@
1
+ ## 1.2.0 (2022-06-10)
2
+
3
+ - Added check for index corruption with Postgres 14.0 to 14.3
4
+
5
+ ## 1.1.0 (2022-06-08)
6
+
7
+ - Added check for `force` option with `create_join_table`
8
+ - Improved errors for extra arguments
9
+ - Fixed ignoring extra arguments with `safe_by_default`
10
+ - Fixed missing options with `remove_index` and `safe_by_default`
11
+
12
+ ## 1.0.0 (2022-03-21)
13
+
14
+ New safe operations with MySQL and MariaDB
15
+
16
+ - Setting `NOT NULL` on an existing column with strict mode enabled
17
+
18
+ New safe operations with Postgres
19
+
20
+ - Changing between `text` and `citext` when not indexed
21
+ - Changing a `string` column to a `citext` column when not indexed
22
+ - Changing a `citext` column to a `string` column with no `:limit` when not indexed
23
+ - Changing a `cidr` column to an `inet` column
24
+ - Increasing `:precision` of an `interval` or `time` column
25
+
26
+ New unsafe operations with Postgres
27
+
28
+ - Adding a column with a callable default value
29
+ - Decreasing `:precision` of a `datetime` column
30
+ - Decreasing `:limit` of a `timestamptz` column
31
+ - Passing a default value to `change_column_null`
32
+
33
+ Other
34
+
35
+ - Added experimental support for lock timeout retries
36
+ - Added `target_sql_mode` option
37
+ - Added error for `change_column_null` with default value with `safe_by_default` option
38
+ - Fixed instructions for `remove_columns` with options
39
+ - Dropped support for Postgres < 10, MySQL < 5.7, and MariaDB < 10.2
40
+
41
+ ## 0.8.0 (2022-02-09)
42
+
43
+ - Fixed error with versioned schema with Active Record 7.0.2+
44
+ - Dropped support for Ruby < 2.6 and Active Record < 5.2
45
+
46
+ ## 0.7.9 (2021-12-15)
47
+
48
+ - Fixed error with multiple databases with Active Record 7
49
+
50
+ ## 0.7.8 (2021-08-03)
51
+
52
+ - Fixed issue with `add_reference ..., foreign_key: {to_table: ...}` with `safe_by_default`
53
+
54
+ ## 0.7.7 (2021-06-07)
55
+
56
+ - Removed timeouts and `auto_analyze` from schema load
57
+
58
+ ## 0.7.6 (2021-01-17)
59
+
60
+ - Fixed `NOT NULL` constraint check for quoted columns
61
+ - Fixed deprecation warning with Active Record 6.1
62
+
63
+ ## 0.7.5 (2021-01-12)
64
+
65
+ - Added checks for `add_check_constraint` and `validate_check_constraint`
66
+
67
+ ## 0.7.4 (2020-12-16)
68
+
69
+ - Added `safe_by_default` option to install generator
70
+ - Fixed warnings with Active Record 6.1
71
+
72
+ ## 0.7.3 (2020-11-24)
73
+
74
+ - Added `safe_by_default` option
75
+
76
+ ## 0.7.2 (2020-10-25)
77
+
78
+ - Added support for float timeouts
79
+
80
+ ## 0.7.1 (2020-07-27)
81
+
82
+ - Added `target_version` option to replace database-specific options
83
+
84
+ ## 0.7.0 (2020-07-22)
85
+
86
+ - Added `check_down` option
87
+ - Added check for `change_column` with `null: false`
88
+ - Added check for `validate_foreign_key`
89
+ - Improved error messages
90
+ - Made auto analyze less verbose in Postgres
91
+ - Decreasing the length limit of a `varchar` column or adding a limit is not safe in Postgres
92
+ - Removed safety checks for `db` rake tasks (Rails 5+ handles this)
93
+
1
94
  ## 0.6.8 (2020-05-13)
2
95
 
3
96
  - `change_column_null` on a column with a `NOT NULL` constraint is safe in Postgres 12+
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Bob Remeika and David Waller, 2015-2019 Andrew Kane
1
+ Copyright (c) 2013 Bob Remeika and David Waller, 2015-2022 Andrew Kane
2
2
 
3
3
  MIT License
4
4