Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 47c50c29b0 | |||
| ff78f7d5bf | |||
| 384820370a | |||
| 52cbd68778 | |||
| 447672d972 | |||
| a098106468 |
+4
-1
@@ -15,4 +15,7 @@
|
|||||||
url = https://git.thewisewolf.dev/HoloTech/psqlmapper.git
|
url = https://git.thewisewolf.dev/HoloTech/psqlmapper.git
|
||||||
[submodule "src/modules/profiles"]
|
[submodule "src/modules/profiles"]
|
||||||
path = src/modules/profiles
|
path = src/modules/profiles
|
||||||
url = git@thewisewolf.dev:HoloTech/profiles-plugin.git
|
url = https://git.thewisewolf.dev/HoloTech/profiles-plugin.git
|
||||||
|
[submodule "src/modules/pluscampaign"]
|
||||||
|
path = src/modules/pluscampaign
|
||||||
|
url = https://git.thewisewolf.dev/CarmiCoven/pluscampaign-plugin.git
|
||||||
|
|||||||
@@ -18,6 +18,24 @@ BEGIN
|
|||||||
RETURN NEW;
|
RETURN NEW;
|
||||||
END;
|
END;
|
||||||
$$ language 'plpgsql';
|
$$ language 'plpgsql';
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OR REPLACE FUNCTION current_module_version(module_name TEXT)
|
||||||
|
RETURNS INTEGER
|
||||||
|
AS $$
|
||||||
|
SELECT
|
||||||
|
to_version
|
||||||
|
FROM version_history
|
||||||
|
WHERE
|
||||||
|
component = $1
|
||||||
|
ORDER BY _timestamp DESC
|
||||||
|
LIMIT 1;
|
||||||
|
$$ LANGUAGE SQL;
|
||||||
|
|
||||||
|
CREATE TABLE app_config(
|
||||||
|
appname TEXT PRIMARY KEY,
|
||||||
|
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||||
|
);
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- App metadata {{{
|
-- App metadata {{{
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ active = [
|
|||||||
".voicefix",
|
".voicefix",
|
||||||
".messagelogger",
|
".messagelogger",
|
||||||
".voicelog",
|
".voicelog",
|
||||||
".yarn"
|
".yarn",
|
||||||
|
".pluscampaign",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Submodule
+1
Submodule src/modules/pluscampaign added at a18885511a
+1
-1
Submodule src/modules/profiles updated: c9b6ce8f60...8818263d88
Reference in New Issue
Block a user