You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `message-db` library is released under the [MIT License](https://github.com/message-db/npm-module/blob/master/MIT-License.txt).
24
-
25
-
26
-
15
+
## Installation
27
16
17
+
```bash
18
+
npm install @eventide/message-db
19
+
```
28
20
21
+
## Create the Postgres Database
29
22
23
+
Running the database installation tool creates the database, schema, table, indexes, functions, views, types, a user role, and limit the user's privileges to the message store's public interface.
30
24
25
+
**Note: Make sure that your default Postgres user has administrative privileges.**
31
26
27
+
To execute the update script, navigate to the directory where the `message-db` module is installed and run the script:
32
28
33
-
xxxxxxxxxxxxxxxx
29
+
```bash
30
+
install.sh
31
+
```
34
32
35
-
#Postgres Message Store Database
33
+
### Database Name
36
34
37
-
Database definition and tools for PostgreSQL message store
35
+
By default, the database creation tool will create a database named `message_store`.
38
36
39
-
## Installation
37
+
If you prefer either a different database name, you can override the name using the `DATABASE_NAME` environment variable.
40
38
41
39
```bash
42
-
npm install @eventide/postgres-message-store
40
+
DATABASE_NAME=some_other_database install.sh
43
41
```
44
42
45
43
## Documentation
46
44
47
-
See the message store documentation on the Eventide docs site:
The `Postgres Message Store Database` library is released under the [MIT License](https://github.com/eventide-project/postgres-message-store-npm-package/blob/master/MIT-License.txt).
51
+
The `message-db` library is released under the [MIT License](https://github.com/message-db/npm-module/blob/master/MIT-License.txt).
0 commit comments