legion-data 1.4.11 → 1.4.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4189d8ca05d1a51425ae559b6467e5be87f33b6189c21fd48501abc0102e7d8
4
- data.tar.gz: 3aae8b800f4026cdff398d068111dc96f95c6ff465929ceb9634af514b46310f
3
+ metadata.gz: 32985bb416df4b3bf1d135609260830412479d6176d4503aa82e1ff4934382a3
4
+ data.tar.gz: eb1d09e394c743f3334eeb0f3aee9584889a7a4863f190062f6b127dba246ad5
5
5
  SHA512:
6
- metadata.gz: 937412b3403fbcfb47c27d2f4a82ea8d0c8e02f7eec0f0f0540cbdae67ea79cd390e4cd5d721ab80d47197adcd73cce5b92997ea5414bed1c053d03bd076fd11
7
- data.tar.gz: 11a1b127dedd48eb11d3b0479d1c3055a5183b32619dfcd17f842b42aa39d8bec327bc0a6e99fab805e256c1c24c7e4b23a98c5a81f625a82d425c6f0bc5a7b2
6
+ metadata.gz: 3c23bc39ed0649ed989e484947a33ca85f93b7a5f2b7ea487e862c8aa944c15b60f21c83a162a9ce45ea93b0f5221b66a2ca98f43e016ea1f2b7031ef9e3eee3
7
+ data.tar.gz: b68e6b6f32262123983356bdfb2a26d243c2e96fbabc3057c285b65eb59f78578e0137147ad82c18f8af8d000f7a25fde9618c54fb9c060e42286a71f8465dea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Legion::Data Changelog
2
2
 
3
+ ## [1.4.12] - 2026-03-21
4
+
5
+ ### Added
6
+ - Migration 035: apollo_entries source_channel column (postgres-only)
7
+ - Migration 036: audit_log context_snapshot column
8
+ - Migration 037: apollo_entries knowledge_domain column with index (postgres-only)
9
+
3
10
  ## v1.4.11
4
11
 
5
12
  ### Added
data/CODEOWNERS ADDED
@@ -0,0 +1 @@
1
+ * @Esity
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ Sequel.migration do
4
+ up do
5
+ next unless adapter_scheme == :postgres
6
+
7
+ alter_table(:apollo_entries) do
8
+ add_column :source_channel, String, size: 100, null: true
9
+ end
10
+ end
11
+
12
+ down do
13
+ next unless adapter_scheme == :postgres
14
+
15
+ alter_table(:apollo_entries) do
16
+ drop_column :source_channel
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ Sequel.migration do
4
+ up do
5
+ alter_table(:audit_log) do
6
+ add_column :context_snapshot, :text, null: true
7
+ end
8
+ end
9
+
10
+ down do
11
+ alter_table(:audit_log) do
12
+ drop_column :context_snapshot
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ Sequel.migration do
4
+ up do
5
+ next unless adapter_scheme == :postgres
6
+
7
+ alter_table(:apollo_entries) do
8
+ add_column :knowledge_domain, String, size: 50, default: 'general'
9
+ end
10
+
11
+ add_index :apollo_entries, :knowledge_domain
12
+ end
13
+
14
+ down do
15
+ next unless adapter_scheme == :postgres
16
+
17
+ drop_index :apollo_entries, :knowledge_domain
18
+ alter_table(:apollo_entries) do
19
+ drop_column :knowledge_domain
20
+ end
21
+ end
22
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module Data
5
- VERSION = '1.4.11'
5
+ VERSION = '1.4.12'
6
6
  end
7
7
  end
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.11
4
+ version: 1.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
@@ -80,6 +80,7 @@ files:
80
80
  - ".rubocop.yml"
81
81
  - CHANGELOG.md
82
82
  - CLAUDE.md
83
+ - CODEOWNERS
83
84
  - Gemfile
84
85
  - LICENSE
85
86
  - README.md
@@ -131,6 +132,9 @@ files:
131
132
  - lib/legion/data/migrations/032_add_task_cancelled_at.rb
132
133
  - lib/legion/data/migrations/033_add_task_delay.rb
133
134
  - lib/legion/data/migrations/034_add_archive_manifest.rb
135
+ - lib/legion/data/migrations/035_add_apollo_source_channel.rb
136
+ - lib/legion/data/migrations/036_add_audit_context_snapshot.rb
137
+ - lib/legion/data/migrations/037_add_apollo_knowledge_domain.rb
134
138
  - lib/legion/data/model.rb
135
139
  - lib/legion/data/models/apollo_access_log.rb
136
140
  - lib/legion/data/models/apollo_entry.rb