xo::db::sql::content_type proc create_attribute (public)

 xo::db::sql::content_type[i] create_attribute [ -dbn dbn ] \
    -content_type content_type  -attribute_name attribute_name  \
    -datatype datatype  -pretty_name pretty_name  \
    [ -pretty_plural pretty_plural ] [ -sort_order sort_order ] \
    [ -default_value default_value ] [ -column_spec column_spec ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl

Automatically generated method

Switches:
-dbn (optional)
-content_type (required)
-attribute_name (required)
-datatype (required)
-pretty_name (required)
-pretty_plural (optional)
-sort_order (optional)
-default_value (optional)
-column_spec (optional, defaults to "text")

Testcases:
No testcase defined.
[ show source ]
Show another procedure: