structured_data_to_sql 0.1.0 → 0.2.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff2d9500aa62ada917f7f65d973d3c9e5495506cfcc6cf06011328482fb50288
|
|
4
|
+
data.tar.gz: f5440b2010078d1b011106ba82c4256d44098501f91131706c80ad45d259de5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b443a51fdabf4dc975562fae2ed7e6cde39b616597cb640134dec3d470cc17f9ec27a46289c746b5ce3375d83861e86f0769e84266ad274f4cc7c95f52076b13
|
|
7
|
+
data.tar.gz: ebe2b6d53b667d71d8d8260eaaf39990cb56ffe6911117a9f2513e2da49da343b10fd1e848a2571a44d65bed1edc06fecd872ce6d962d0d34a800cbdd1ade0bf
|
|
@@ -17,8 +17,8 @@ module StructuredDataToSql
|
|
|
17
17
|
NAME = :khoros_api_export
|
|
18
18
|
# Bumped in lockstep with PROFILE_VERSION in the Khoros converter's
|
|
19
19
|
# KhorosApiExportContentStaging whenever a canonical table's shape or
|
|
20
|
-
# semantics change. Version
|
|
21
|
-
VERSION =
|
|
20
|
+
# semantics change. Version 3 adds source-message view counts.
|
|
21
|
+
VERSION = 3
|
|
22
22
|
PREFIX = "discourse_khoros_api"
|
|
23
23
|
METADATA_TABLE = "_structured_data_to_sql_profiles"
|
|
24
24
|
# Explicit storage options on every canonical table so they never
|
|
@@ -37,6 +37,7 @@ module StructuredDataToSql
|
|
|
37
37
|
data_body
|
|
38
38
|
data_conversation_id
|
|
39
39
|
data_depth
|
|
40
|
+
data_metrics_views
|
|
40
41
|
data_post_time
|
|
41
42
|
data_read_only
|
|
42
43
|
data_subject
|
|
@@ -1927,6 +1928,7 @@ module StructuredDataToSql
|
|
|
1927
1928
|
m.data_subject AS subject,
|
|
1928
1929
|
m.data_body AS body,
|
|
1929
1930
|
m.data_post_time AS post_time,
|
|
1931
|
+
m.data_metrics_views AS views,
|
|
1930
1932
|
#{boolean_value("m.data_read_only")} AS read_only,
|
|
1931
1933
|
COALESCE(#{optional("messages", "data_is_solution", "0", table_alias: "m")}, 0) AS is_solution,
|
|
1932
1934
|
#{optional("messages", "data_solution_data_message_id", table_alias: "m")} AS solution_message_id,
|