How to add new field to db with Plugin?
Posted: Mon Oct 11, 2010 1:24 pm
Hello-
I need to add another field to one of my tables in 7.2
The following code adds the field just fine,
but then attempts to do so everytime the plugin loads, so I get an error that the column already exists. Can you suggest a workaround?
I need to add another field to one of my tables in 7.2
The following code adds the field just fine,
Code: Select all
command = "ALTER TABLE anestheticrecord ADD ChangeLog varchar(255)";
DataCore.NonQ(command);