I'm trying to delete a column in a websql database with javascript. I have tried the following with no success:
db.transaction(
function(transaction) {
transaction.executeSql('ALTER TABLE log_entries DROP COLUMN name;');
}
);
where, name is the column I want to delete from the table log_entries.
Could someone please advise me how I would go about deleting a column in a websql database with javascript?