The name of the column as it appears in the database. Name used in PHP code to reference this column (in getters, setters, etc.). Defaults to the name transformed by the phpNamingMethod, which defaults to a CamelCase converter. So by default, a column named 'author_id' receives 'AuthorId' as phpName. Name used for the class constant corresponding to this column in PHP code. Defaults to the uppercase name, so a column named 'author_id' receives 'AUTHOR_ID' as peerName. Visibility for the column accessor method. 'public' by default, also accepts 'protected' and 'private'. Visibility for the column mutator method. 'public' by default, also accepts 'protected' and 'private'. Set to true to add a primary key on this column. Set to true to forbid NULL values. Any of the Propel supported data types. These types are database-agnostic, and converted to the native database type according to the connection. Native database column type. PHP type for te column in PHP code. This column's setter uses type casting with the set php_type; besides, generated phpDoc in the model classes use this attribute for code completion. Numeric length of the column. Digits after decimal place Synonym for defaultValue The default value that the object will have for this column in the PHP instance after creating a "new Object". This value is always interpreted as a string. See defaultExpr for setting an SQL function as a default value. The default value for this column as expressed in SQL. This value is used solely for the "sql" target which builds your database from the schema.xml file. The defaultExpr is the SQL expression used as the "default" for the column. Name of the method used to transform the column name into a phpName. Defaults to 'clean', which Removes any character that is not a letter or a number and capitilizes the first letter of the name, the first letter of each alphanumeric block, and converts the rest of the letters to lowercase. Possible values: any of the PhpNameGenerator CONV_METHOD_XXX constants (clean, underscore, phpName, nochange). A text description of the column. It gets added to the SQL CREATE table as a comment, and appears in the phpDoc bloc of the related getter and setter methods in the ActiveRecord class. Set to true to skip this column by default during hydration. That means that this column will be hydrated on demand, using a supplementary query. Mostly useful for LOB columns. (DEPRECATED) For use with treeMode table attribute. (DEPRECATED) For use with treeMode table attribute. (DEPRECATED) For use with treeMode table attribute. (DEPRECATED) For use with treeMode table attribute. (DEPRECATED) For use with treeMode table attribute. A column defined as primary string serves as default value for a `__toString()` method in the generated Propel object. A reference between a local and a foreign column. Composite foreign keys can have several references. The other table name Name for this foreign key Name for the foreign object in methods generated in this class. Name for this object in methods generated in the foreign class This affects the default join type used in the generated `joinXXX()` methods in the model query class. Propel uses an INNER JOIN for foreign keys attached to a required column, and a LEFT JOIN for foreign keys attached to a non-required column, but you can override this in the foreign key element. The (absolute or relative to this schema dir name) path to the external schema file. A column of the table A foreign key on one or several columns in this table, referencing a foreign table An index on one or several columns of the current table A unique index on one or several columns of the current table If you are using a database that uses sequences for auto-increment columns (e.g. PostgreSQL or Oracle), you can customize the name of the sequence using this tag A validator to be executed on a given column at runtime A behavior to be added to the current table. Can modify the table structure, as well as modify the runtime code of the generated Model objects linked to this table. Bundled behaviors include alternative_coding_standards, auto_add_pk, timestampable, sluggable, soft_delete, sortable, nested_set, query_cache, and concrete_inheritance. table attributes specific to a database vendor. Only supports MySQL specific table attributes for now (Charset, Collate, Checksum, Pack_keys, Delay_key_write). The name of the table as it appears in the database. The name of the ActiveRecord class generated for this table. Defaults to the name transformed by the phpNamingMethod, which defaults to a CamelCase converter. So by default, a table named 'foo_author' receives 'FooAuthor' as phpName. The PHP 5.3 namespace to use for the generated model classes. Default visibility for column accessor methods. 'public' by default, also accepts 'protected' and 'private'. Default visibility for column mutator methods. 'public' by default, also accepts 'protected' and 'private'. Id method to use for auto-increment columns. Can be used if you want to define the primary key of a new object being inserted. By default if idMethod is "native", Propel would throw an exception. However, in some cases this feature is useful, for example if you do some replication of data in an master-master environment. Instructs Propel not to generate DDL SQL for the specified table. This can be used together with readOnly for supperting VIEWS in Propel Suppresses the mutator/setter methods, save() and delete() methods. Whether the generated stub class will be abstract (e.g. if you're using inheritance) Allows you to specify a class that the generated Propel objects should extend (in place of propel.om.BaseObject) Instructs Propel to use a different SQL-generating BasePeer class (or sub-class of BasePeer). Specifies the "package" for the generated classes. Classes are created in subdirectories according to the package attribute value. Name of the method used to transform the table name into a phpName. Defaults to 'clean', which Removes any character that is not a letter or a number and capitilizes the first letter of the name, the first letter of each alphanumeric block, and converts the rest of the letters to lowercase. Possible values: any of the PhpNameGenerator CONV_METHOD_XXX constants (clean, underscore, phpName, nochange). Adds indexes for each component of the primary key (when using composite primary keys) A text description of the table. It gets added to the SQL CREATE table as a comment, and appears in the phpDoc bloc of the related ActiveRecord class. Used to indicate that this table is part of a node tree. Currently the only supported values are "NestedSet" and "MaterializedPath" (DEPRECATED: use nested_set behavior instead). Indicate that the object should be reloaded from the database when an INSERT is performed. This is useful if you have triggers (or other server-side functionality like column default expressions) that alters the database row on INSERT. Indicate that the object should be reloaded from the database when an UPDATE is performed. This is useful if you have triggers (or other server-side functionality like column default expressions) that alters the database row on UPDATE. Set to true if the current table is a cross-reference table in a many-to-many relationship to allow generation of getter and setter in each of the tables of the relationship. Embed an external schema file into the current schema. Accepts absolute and relative schema file paths. A table using the database connection. Behavior to be applied to all the database tables The name of the table in the database. Propel advocates the use of singular table names. Default id method to use for auto-increment columns Default visibility for column accessor methods. 'public' by default, also accepts 'protected' and 'private'. Default visibility for column mutator methods. 'public' by default, also accepts 'protected' and 'private'. Specifies the "package" for the generated classes. Classes are created in subdirectories according to the package attribute value. The PHP 5.3 namespace to use for the generated model classes of the database. Can be overridden on a per-table basis. Allows to specify a default base class that all generated Propel objects should extend (in place of propel.om.BaseObject) Instructs Propel to use a different SQL-generating BasePeer class (or sub-class of BasePeer) for all generated objects The default naming method to use in this database. Adds indexes for each component of the primary key (when using composite primary keys) Adds a prefix to all the SQL table names