notifiable-core 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/201901032235001_add_stats_to_users.rb +3 -3
- data/lib/notifiable/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1427ccac199f47f96daa1d595cf268afd209c6978a49e1ad7898b2691e1005bb
|
4
|
+
data.tar.gz: e0786860a970e8b4595d1fc7e5c1191a71e1d80d028b11068fa2e9a846fbde13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e982db98e43064de02381249da8b4e633dea047c22456e8d42395cf521cdbef7bf32cdb217931fa9b1d6180641494fe36a0357431e177fff03a01736efae3ae
|
7
|
+
data.tar.gz: 36f37995efed8d09f6a67f2b21f47a1d247d0b86390aea1c46a0b22056fb0f53fde96ecc908ed0fb5bb03d1b2c1d3922984dd06422c869199e8f370936471d14
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class AddStatsToUsers < ActiveRecord::Migration[4.2]
|
2
2
|
def change
|
3
|
-
add_column :notifiable_users, :sent_count, :integer
|
4
|
-
add_column :notifiable_users, :delivered_percent, :float
|
5
|
-
add_column :notifiable_users, :opened_percent, :float
|
3
|
+
add_column :notifiable_users, :sent_count, :integer, default: 0
|
4
|
+
add_column :notifiable_users, :delivered_percent, :float, default: 0
|
5
|
+
add_column :notifiable_users, :opened_percent, :float, default: 0
|
6
6
|
end
|
7
7
|
end
|
data/lib/notifiable/version.rb
CHANGED