legion-data 1.4.7 → 1.4.8
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/CHANGELOG.md +5 -0
- data/lib/legion/data/migrations/033_add_task_delay.rb +21 -0
- data/lib/legion/data/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7011c9bd3da46657e885ed8839ad6fa3537b9a06dd7dc638cf646a1c8976a7c2
|
|
4
|
+
data.tar.gz: e1bbdc2cebfb93204dbf7ec9fcdc2b9a95703209089b832df33bb35bbe0fda9a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5a67c78d378273a6ef9e155851239acd0076c92d15b2f5c0d7b4e7bbf3a46ef0abeb6ba911b69de6d3a1e59095f9a68f2be11d117654b8536cff7fe2575a19d
|
|
7
|
+
data.tar.gz: e186cb29ff161fe778347ac23007b1ab44ee27b7213ca1540324d680ba2c6c38cb069ebaf17d87801996aa3203c48b711422dca42368907a1d03c5fd49e809ad
|
data/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
Sequel.migration do
|
|
4
|
+
up do
|
|
5
|
+
next unless table_exists?(:tasks)
|
|
6
|
+
next if schema(:tasks).any? { |col, _| col == :task_delay }
|
|
7
|
+
|
|
8
|
+
alter_table(:tasks) do
|
|
9
|
+
add_column :task_delay, Integer, null: true
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
down do
|
|
14
|
+
next unless table_exists?(:tasks)
|
|
15
|
+
next unless schema(:tasks).any? { |col, _| col == :task_delay }
|
|
16
|
+
|
|
17
|
+
alter_table(:tasks) do
|
|
18
|
+
drop_column :task_delay
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
data/lib/legion/data/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: legion-data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Esity
|
|
@@ -128,6 +128,7 @@ files:
|
|
|
128
128
|
- lib/legion/data/migrations/030_add_approval_queue.rb
|
|
129
129
|
- lib/legion/data/migrations/031_add_task_depth.rb
|
|
130
130
|
- lib/legion/data/migrations/032_add_task_cancelled_at.rb
|
|
131
|
+
- lib/legion/data/migrations/033_add_task_delay.rb
|
|
131
132
|
- lib/legion/data/model.rb
|
|
132
133
|
- lib/legion/data/models/apollo_access_log.rb
|
|
133
134
|
- lib/legion/data/models/apollo_entry.rb
|