=============== Database Schema =============== .. sectionauthor:: Bernhard Posselt ownCloud uses a database abstraction layer on top of either PDO, depending on the availability of PDO on the server. The database schema is inside :file:`appinfo/database.xml` in MDB2's `XML scheme notation `_ where the placeholders \*dbprefix* (\*PREFIX* in your SQL) and \*dbname* can be used for the configured database table prefix and database name. An example database XML file would look like this: .. code-block:: xml *dbname* true false utf8 *dbprefix*yourapp_items id integer 0 true 1 4 user text true 64 name text true 100 path clob true
To update the tables used by the app, simply adjust the database.xml file and increase the app version number in :file:`appinfo/version` to trigger an update.