Fixes a bug that renamed table to another database failed to insert.
alter table alter column set default