ekwo-os 0.22.0 → 0.24.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.
package/README.md CHANGED
@@ -390,8 +390,8 @@ extra tables are reported as information. It also checks row level security on
390
390
  every table, pending migrations, memberships of deleted users, companies
391
391
  without a bank account, and posted entries that do not balance.
392
392
 
393
- Two checks say where the socle lives, ahead of its move to the schema `ekwo`
394
- in 0.22.0 ([decision 0090](../../docs/decisions/0090-the-socle-has-its-own-schema.md)):
393
+ Two checks say where the socle lives — its own schema `ekwo` since 0.23.0, `public`
394
+ on a database that has not migrated yet ([decision 0090](../../docs/decisions/0090-the-socle-has-its-own-schema.md)):
395
395
  `socle_schema` (`ekwo` or `public`, found by the marker `ekwo_schema_version()`)
396
396
  and `ekwo_exposed` (whether the Data API serves `ekwo`, read from
397
397
  `pgrst.db_schemas` where the database carries it; otherwise the line to set).
@@ -541,7 +541,7 @@ exactly six fields:
541
541
  "organization": "My Organisation",
542
542
  "country": "<cc>",
543
543
  "edition": "community",
544
- "schema_version": "0.22.0",
544
+ "schema_version": "0.24.0",
545
545
  "contact_email": "you@example.com"
546
546
  }
547
547
  ```
@@ -1,8 +1,8 @@
1
1
  {
2
- "schemaVersion": "0.22.0",
3
- "migration": "20261027200000",
2
+ "schemaVersion": "0.24.0",
3
+ "migration": "20261028160000",
4
4
  "socle": {
5
- "schema": "public",
5
+ "schema": "ekwo",
6
6
  "tables": [
7
7
  {
8
8
  "name": "account_templates",
@@ -5259,6 +5259,10 @@
5259
5259
  "name": "documents_match_credit_note_on_posting",
5260
5260
  "arguments": ""
5261
5261
  },
5262
+ {
5263
+ "name": "documents_need_a_contact",
5264
+ "arguments": ""
5265
+ },
5262
5266
  {
5263
5267
  "name": "documents_posting_mode",
5264
5268
  "arguments": ""
@@ -5659,6 +5663,10 @@
5659
5663
  "name": "module_entry_id",
5660
5664
  "arguments": "p_company_id uuid, p_module_code text, p_ref text"
5661
5665
  },
5666
+ {
5667
+ "name": "module_functions_follow_the_socle",
5668
+ "arguments": "p_schema text"
5669
+ },
5662
5670
  {
5663
5671
  "name": "module_is_enabled",
5664
5672
  "arguments": "p_company_id uuid, p_code text"
@@ -5787,6 +5795,10 @@
5787
5795
  "name": "purge_audit_log",
5788
5796
  "arguments": "p_before date"
5789
5797
  },
5798
+ {
5799
+ "name": "receive_purchase_document",
5800
+ "arguments": "p_company_id uuid, p_reference text, p_taken_at timestamp with time zone, p_files jsonb"
5801
+ },
5790
5802
  {
5791
5803
  "name": "reconcile",
5792
5804
  "arguments": "p_line_a uuid, p_line_b uuid, p_amount numeric"
@@ -5959,6 +5971,10 @@
5959
5971
  "name": "statement_rule_catches",
5960
5972
  "arguments": "p_rule statement_line_rules, p_code text, p_account_type account_type, p_balance numeric"
5961
5973
  },
5974
+ {
5975
+ "name": "storage_path_company",
5976
+ "arguments": "p_name text"
5977
+ },
5962
5978
  {
5963
5979
  "name": "suggest_combination",
5964
5980
  "arguments": "p_transaction_id uuid"
@@ -7136,6 +7152,10 @@
7136
7152
  "table": "documents",
7137
7153
  "name": "documents_contact_id_not_merged"
7138
7154
  },
7155
+ {
7156
+ "table": "documents",
7157
+ "name": "documents_contact_named"
7158
+ },
7139
7159
  {
7140
7160
  "table": "documents",
7141
7161
  "name": "documents_currency_of_company"
@@ -7891,7 +7911,7 @@
7891
7911
  }
7892
7912
  ],
7893
7913
  "grants": {
7894
- "schema": "public",
7914
+ "schema": "ekwo",
7895
7915
  "usage": {
7896
7916
  "anon": [
7897
7917
  "usage"
@@ -10320,6 +10340,14 @@
10320
10340
  "authenticated": [],
10321
10341
  "service_role": []
10322
10342
  },
10343
+ {
10344
+ "name": "documents_need_a_contact",
10345
+ "arguments": "",
10346
+ "trigger": true,
10347
+ "anon": [],
10348
+ "authenticated": [],
10349
+ "service_role": []
10350
+ },
10323
10351
  {
10324
10352
  "name": "documents_posting_mode",
10325
10353
  "arguments": "",
@@ -11367,6 +11395,13 @@
11367
11395
  "execute"
11368
11396
  ]
11369
11397
  },
11398
+ {
11399
+ "name": "module_functions_follow_the_socle",
11400
+ "arguments": "p_schema text",
11401
+ "anon": [],
11402
+ "authenticated": [],
11403
+ "service_role": []
11404
+ },
11370
11405
  {
11371
11406
  "name": "module_is_enabled",
11372
11407
  "arguments": "p_company_id uuid, p_code text",
@@ -11716,6 +11751,17 @@
11716
11751
  "execute"
11717
11752
  ]
11718
11753
  },
11754
+ {
11755
+ "name": "receive_purchase_document",
11756
+ "arguments": "p_company_id uuid, p_reference text, p_taken_at timestamp with time zone, p_files jsonb",
11757
+ "anon": [],
11758
+ "authenticated": [
11759
+ "execute"
11760
+ ],
11761
+ "service_role": [
11762
+ "execute"
11763
+ ]
11764
+ },
11719
11765
  {
11720
11766
  "name": "reconcile",
11721
11767
  "arguments": "p_line_a uuid, p_line_b uuid, p_amount numeric",
@@ -12165,6 +12211,17 @@
12165
12211
  "execute"
12166
12212
  ]
12167
12213
  },
12214
+ {
12215
+ "name": "storage_path_company",
12216
+ "arguments": "p_name text",
12217
+ "anon": [],
12218
+ "authenticated": [
12219
+ "execute"
12220
+ ],
12221
+ "service_role": [
12222
+ "execute"
12223
+ ]
12224
+ },
12168
12225
  {
12169
12226
  "name": "suggest_combination",
12170
12227
  "arguments": "p_transaction_id uuid",