BEGIN TRANSACTION; drop table statics; create table statics ( site varchar (50) not null, name varchar(500) not null, version integer not null default 0, new_name varchar(500), new_gz_name varchar(500), width integer, height integer, md5 varchar(32), primary key (site,name) ); COMMIT;