Open rudolph-miller opened 9 years ago
ALTER TABLE table_name ALTER column_name SET DEFAULT default_value;
ALTER TABLE table_name ALTER column_name DROP DEFAULT;
CREATE TABLE db_name.tbl_name (col_name1 data_type1 DEFAULT default_value, col_name2 data_type2, ...);
Is it really necessary though we have :initform of defclass to set the default value when make-instance?
:initform
defclass
make-instance
ALTER TABLE table_name ALTER column_name SET DEFAULT default_value;
ALTER TABLE table_name ALTER column_name DROP DEFAULT;
CREATE TABLE db_name.tbl_name (col_name1 data_type1 DEFAULT default_value, col_name2 data_type2, ...);