Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/ai_actions/install_ai_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,32 @@ It also modifies the permission system to account for the new functionality.

## Modify database schema

Create the `add_ai_actions.sql` file that contains the following code.
Create the `ibexa_ai_actions.sql` file that contains the following code.

=== "MySQL"

``` sql
[[= include_file('code_samples/ai_actions/config/mysql/add_ai_actions.sql', 0, None, ' ') =]]
[[= include_file('code_samples/ai_actions/config/mysql/ibexa_ai_actions.sql', 0, None, ' ') =]]
```

=== "PostgreSQL"

``` sql
[[= include_file('code_samples/ai_actions/config/postgresql/add_ai_actions.sql', 0, None, ' ') =]]
[[= include_file('code_samples/ai_actions/config/postgresql/ibexa_ai_actions.sql', 0, None, ' ') =]]
```

Run the following command, where `<database_name>` is the same name that you defined when you [installed [[= product_name =]]](../getting_started/install_ibexa_dxp.md#change-installation-parameters).

=== "MySQL"

```bash
mysql -u <username> -p <password> <database_name> < add_ai_actions.sql
mysql -u <username> -p <password> <database_name> < ibexa_ai_actions.sql
```

=== "PostgreSQL"

```bash
psql <database_name> < add_ai_actions.sql
psql <database_name> < ibexa_ai_actions.sql
```

This command modifies the existing database schema by adding database configuration required for using AI Actions.
Expand Down
Loading