select *
from schema_version
where 1 = 0
create table schema_version (
tableset_key varchar(255) not null,
major_version int not null default 0,
minor_version int not null default 0,
primary key (tableset_key)
)
alter table schema_version
add tableset_key varchar(255) not null default '#DEFAULT_TABLESET_KEY#'
alter table schema_version
add primary key (tableset_key)
insert into schema_version
(tableset_key, major_version, minor_version
)
values
(,
0,
0
)
select major_version, minor_version
from schema_version
where tableset_key =
update schema_version set
major_version = ,
minor_version =
where tableset_key =