equal
deleted
inserted
replaced
7 |
7 |
8 Introduction |
8 Introduction |
9 ============ |
9 ============ |
10 |
10 |
11 This is a storage backend using Ejabberd’s SQL backend. It depends on |
11 This is a storage backend using Ejabberd’s SQL backend. It depends on |
12 [LuaDBI](https://prosody.im/doc/depends#luadbi) |
12 [LuaDBI](doc:depends#luadbi) |
13 |
13 |
14 This module only works in read-only, and was made to be used by |
14 This module only works in read-only, and was made to be used by |
15 [mod\_migrate](https://modules.prosody.im/mod_migrate.html) to migrate |
15 [mod\_migrate](mod_migrate) to migrate from Ejabberd’s SQL backend. |
16 from Ejabberd’s SQL backend. |
|
17 |
16 |
18 Configuration |
17 Configuration |
19 ============= |
18 ============= |
20 |
19 |
21 Copy the module to the prosody modules/plugins directory. |
20 Copy the module to the prosody modules/plugins directory. |
22 |
21 |
23 In Prosody's configuration file, set: |
22 In Prosody's configuration file, set: |
24 |
23 |
25 storage = "ejabberdsql_readonly" |
24 storage = "ejabberdsql_readonly" |
26 |
25 |
27 EjabberdSQL options are the same as the |
26 EjabberdSQL options are the same as the [SQL |
28 [https://prosody.im/doc/modules/mod\_storage\_sql](SQL ones): |
27 ones](doc:modules:mod_storage_sql#usage). |
29 |
28 |
30 Compatibility |
29 Compatibility |
31 ============= |
30 ============= |
32 |
31 |
33 ------- --------------------------- |
32 ------- --------------------------- |