sanitize sipstats.mark table

2.6
Richard Fuchs 13 years ago
parent 5606c7fe08
commit 9d33796b47

@ -0,0 +1,10 @@
use sipstats;
set autocommit=0;
alter table mark drop primary key;
alter table mark add column id int unsigned not null auto_increment primary key first;
alter table mark add key name_idx (name);
commit;
set autocommit=1;

@ -0,0 +1,10 @@
use sipstats;
set autocommit=0;
alter table mark drop column id;
alter table mark drop key name_idx;
alter table mark add primary key (name);
commit;
set autocommit=1;
Loading…
Cancel
Save