acs::db::nsdb-postgresql method call content_type create_attribute (public)

 <instance of acs::db::nsdb-postgresql[i]> call content_type 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 packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: {character varying} {character varying} {character varying} {character varying} {character varying} integer {character varying} {character varying}

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

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