662 B
662 B
| sidebar |
|---|
| devs |
Database
LibreTime is designed to work with a PostgreSQL database server running locally. LibreTime uses PropelORM to interact with the ZendPHP components and create the database.
Modifying the Database
If you are a developer seeking to add new columns to the database here are the steps.
- Modify
airtime_mvc/build/schema.xmlwith any changes. - Run
dev_tools/propel_generate.sh - Update the upgrade.sql under
airtime_mvc/application/controllers/upgrade_sql/VERSIONfor exampleALTER TABLE imported_podcast ADD COLUMN album_override boolean default 'f' NOT NULL;