Suppose that I have an enum column on a table and I want users to be able to expand the number of values it contains via an HTML form submission on the front end by using PHP to run a query that alters the table to contain more enum values for that column .
- Is it a bad idea to run queries very often that will alter the a table structure?
- Is there a security issue inherent that I can't see?
- If I sanitize user input before altering the table with the new values is that sufficient?