ALTER TABLA ADD COLUMNA Y CLAVE EXTRANJERO MYSQL
ALTER TABLE database.table
ADD COLUMN columnname INT DEFAULT(1),
ADD FOREIGN KEY fk_name(fk_column) REFERENCES reftable(refcolumn) ON DELETE CASCADE;
Open Owl