renalware-core 2.1.0 → 2.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 016c4c2e4de47b7cf103abe0f4712f75798614ad1919f7fbcfc99a5fe419fab5
|
4
|
+
data.tar.gz: c6bb6ab82ce1f815e9f415a2194b87530f242d02f5ccae747e4bff11927a0812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f7160a75a946682232bc0be9229ff85afaa5c44ea684a44709fb4de9335f7df6918540ec0db13eae0fc4b9369c44753ae2c4a71ab05a2c624b7fe82f121fdef
|
7
|
+
data.tar.gz: 2204084a3d99640c75fa9f9034ffa9bd6b1413a5aefc4c0acc917a851c08fcc89a13709e108b1d65113f164705ae5fe2870d463e9a3fae0090ee9e37c95896af
|
@@ -20,7 +20,10 @@ class CreateEventCategories < ActiveRecord::Migration[5.2]
|
|
20
20
|
reversible do |direction|
|
21
21
|
direction.up do
|
22
22
|
category = Renalware::Events::Category.find_or_create_by!(name: "General")
|
23
|
-
Renalware::Events::Type
|
23
|
+
Renalware::Events::Type
|
24
|
+
.with_deleted
|
25
|
+
.where(category_id: nil)
|
26
|
+
.update_all(category_id: category.id)
|
24
27
|
end
|
25
28
|
direction.down do
|
26
29
|
# noop
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renalware-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airslie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-import
|