Merge pull request #3062 from jimt/patch-1

remove leading tab
This commit is contained in:
Damian Mooyman 2014-04-24 17:27:26 +12:00
commit 346990c877

View File

@ -42,7 +42,7 @@ This is explained in a more in-depth topic at [Page Type Templates](/topics/page
## Adding Database Fields ## Adding Database Fields
Adding database fields is a simple process. You define them in an array of the static variable `$db`, this array is Adding database fields is a simple process. You define them in an array of the static variable `$db`, this array is
added on the object class. For example, Page or StaffPage. Every time you run dev/build to recompile the manifest, it added on the object class. For example, Page or StaffPage. Every time you run dev/build to recompile the manifest, it
checks if any new entries are added to the `$db` array and adds any fields to the database that are missing. checks if any new entries are added to the `$db` array and adds any fields to the database that are missing.
For example, you may want an additional field on a `StaffPage` class which extends `Page`, called `Author`. `Author` is a For example, you may want an additional field on a `StaffPage` class which extends `Page`, called `Author`. `Author` is a