istox 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/istox/migrations/create_blockchain_receipts.rb +9 -8
- data/lib/istox/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: 16f535336409e563f0000f13c6ec2a28dd6b95352dce0b805539f462577089d0
|
|
4
|
+
data.tar.gz: 2fae62885566d2352b5d9bba8d5193fd7284ddad823c03bf87715a9a8224a28f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f66d66fef088c99b36b3982163a36e78b480fe9d6ba17b7a9344f4ffc4bf3ab9b1e7b4bef8e1fd2e3c85a7c596187418435d834b5d97f449e47f827f0943536
|
|
7
|
+
data.tar.gz: c8a4a2e739a9f3145ff5368fa9ebb4070a6d8e1806b150f59dd9cc86c0924c127d75d106d2b5ae5054f5f303061c1333cca055f36468d401026963ee79f85809
|
data/.gitignore
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module Istox
|
|
2
2
|
class CreateBlockchainReceipts < ActiveRecord::Migration[5.2]
|
|
3
|
-
def initialize(table_name = nil)
|
|
3
|
+
def initialize(_, _, table_name = nil)
|
|
4
4
|
@table_name = table_name
|
|
5
5
|
unless @table_name
|
|
6
6
|
@table_name = :blockchain_receipts
|
|
@@ -9,13 +9,14 @@ module Istox
|
|
|
9
9
|
|
|
10
10
|
def change
|
|
11
11
|
create_table @table_name do |t|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
t.string :txid
|
|
13
|
+
t.integer :resource_id
|
|
14
|
+
t.string :resource_action
|
|
15
|
+
t.string :resource_name
|
|
16
|
+
t.boolean :resource_handled
|
|
17
|
+
t.datetime :deleted_at, index: true
|
|
18
|
+
t.timestamps
|
|
19
|
+
t.string :sid
|
|
19
20
|
end
|
|
20
21
|
end
|
|
21
22
|
end
|
data/lib/istox/version.rb
CHANGED