Commit Graph

15 Commits

Author SHA1 Message Date
Bianca Nenciu b43d82d5d6
DEV: Fix mismatched column types (#329)
The primary key is usually a bigint column, but the foreign key columns
are usually of integer type. This can lead to issues when joining these
columns due to mismatched types and different value ranges.
2024-10-10 16:29:37 +03:00
Bianca Nenciu 206d937a78
DEV: Update plugin to match latest guidelines (#229)
This commit updates the plugin to the latest guidelines, as shown in
discourse-plugin-skeleton, which involves moving a lot of the code to
dedicated files, use proper namespaces, use the autoloader as much as
possible, etc.
2023-03-22 23:29:08 +02:00
David Taylor 148d6c32a3
DEV: Introduce syntax_tree for ruby formatting (#208) 2022-12-29 13:31:29 +01:00
Roman Rizzi 51a047b60c
FIX: Store query groups in a temp table when fixing ids. (#68)
Reintroduces the migration removed in `cdfc5d4`, and fixes it to work with `query_groups`. Since the code is fairly complex, I moved into a rake task so it can be tested and make sure it works.
2020-09-28 12:23:53 -03:00
romanrizzi cdfc5d4ea9
DEV: Remove migration until it works with query groups. 2020-09-07 17:17:11 -03:00
Daniel Waterworth 0e7e51ae08 FIX: The name changes if the top function changes 2020-09-07 20:05:22 +01:00
Daniel Waterworth 49a76c9edb FIX: Missed one. Sequences need to be set to at least 1 2020-09-07 19:32:23 +01:00
Daniel Waterworth b831d736ca FIX: Sequences need to be set to at least 1 2020-09-07 19:09:45 +01:00
Krzysztof Kotlarek 933fd9ac46 FIX: rubocop in fix query ids migration 2020-09-07 10:46:46 +10:00
Krzysztof Kotlarek 856f00c1c7
FIX: Correct ids if neccessary (#65)
Migration to fix data ids if the old version of previous migration was
evaluated.
2020-09-07 10:24:17 +10:00
Krzysztof Kotlarek 19e2a21444 FIX: improve queries migration to persist IDs 2020-09-03 16:34:29 +10:00
Krzysztof Kotlarek 16873e708a FIX: dont error when user id is empty string 2020-08-27 14:47:43 +10:00
Krzysztof Kotlarek 0a694215f8 FIX: dont error when user is blank 2020-08-27 14:16:39 +10:00
Krzysztof Kotlarek 7696d459a4 FIX: dont error when json don't contain hidden key 2020-08-27 12:29:27 +10:00
Krzysztof Kotlarek fe0806eb2a
FEATURE: introduce data-explorer tables (#61)
Instead of using `PluginStoreRow` we should use plugin-specific models like `DataExplorer::Query` and `DataExplorer::QueryGroup`
2020-08-27 10:29:57 +10:00