Table structure
create table t_test(
id int ,
timestamp timestamp
)
Fill data
insert into t_test(id)values(1)
Query result
select * from t_test
------------------------
id | timestamp
------------------------
1 | 0x0000000000024EBC
------------------------
Add column
alter table t_test add column new_column char(1) default '1' with values
After I add column, the column timestamp value has changed. How can I do and keep it value like before?
Query result (after add column)
select * from t_test
----------------------------
id | timestamp | new_column
----------------------------
1 | 0x0000000000024EBC | 1
----------------------------
Thanks