postgresql7.1 select acs_attribute__drop_attribute(:object_type, :attribute_name) select acs_attribute__create_attribute ( '$object_type', '$attribute_name', '$datatype', '$pretty_name', '$pretty_plural', NULL, NULL, '$default_value', '$min_n_values', '$max_n_values', NULL, 'type_specific', 'f' ); select acs_attribute__drop_attribute(:object_type, :attribute_name, :drop_table_column_p)