tyggerjai (
tyggerjai) wrote in
dw_dev_training2010-10-15 11:07 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
SQL data constraints.
One of the fields in the db user table is set to only accept certain values. I need to add an acceptable value, preferably without dropping the entire table and rebuilding it. Any hints? There's probably an alter command....
no subject
There's an update-db and update-db-general script in bin/upgrading where you can add commands to the "register_alter" sub to alter an existing database, which will be run as part of $LJHOME/bin/upgrading/update-db.pl -r -p --inno
no subject
no subject
no subject