xo::db::sql::workflow proc create_attribute (public)
xo::db::sql::workflow create_attribute [ -dbn dbn ] \ -workflow_key workflow_key -attribute_name attribute_name \ -datatype datatype -pretty_name pretty_name \ [ -pretty_plural pretty_plural ] [ -table_name table_name ] \ [ -column_name column_name ] [ -default_value default_value ] \ [ -min_n_values min_n_values ] [ -max_n_values max_n_values ] \ [ -sort_order sort_order ] [ -storage storage ]
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn (optional)
- -workflow_key (required)
- -attribute_name (required)
- -datatype (required)
- -pretty_name (required)
- -pretty_plural (optional)
- -table_name (optional)
- -column_name (optional)
- -default_value (optional)
- -min_n_values (optional, defaults to
"1"
)- -max_n_values (optional, defaults to
"1"
)- -sort_order (optional)
- -storage (optional, defaults to
"generic"
)- Testcases:
- No testcase defined.