Skip to content

Commit

Permalink
Fix typo and clarify db-install
Browse files Browse the repository at this point in the history
arbuilder: the file offered for download has an extention of .php (not .tet). I added a note to clarify that arBuilder only creates a step to install a db-table.
  • Loading branch information
ingoj authored and chfsx committed Oct 8, 2024
1 parent ba3b498 commit 47260ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Services/ActiveRecord/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,13 @@ install the database on your own, ActiveRecord can install und update the table:

Use the already known DB-Update-Steps to generate your AR-Databases. There is a Helper-Script to auto-generate a
Installation-Updatestep. Implement these two lines with your ActiveRecord somewhere in ILIAS-Code and run the site. It
generates and Downloads a tet-file with the installation-Step:
generates and Downloads a php-file with the installation-Step:

```php
$arBuilder = new arBuilder(new arMessage());
$arBuilder->generateDBUpdateForInstallation();
```
The downloaded file can be used to install the appropriate db-table.

You can use these methods to delete or truncate your table even in dbupdate-Scripts:

Expand Down

0 comments on commit 47260ab

Please sign in to comment.