2 # Module for SQLite DXSql variants
4 # Stuff like table creates and (later) alters
8 # Copyright (c) 2005 Dirk Koopman G1TLH
21 my $s = q(show tables);
22 my $sth = $self->prepare($s);
25 while (my @t = $sth->fetchrow_array) {
35 my $s = q{create table spot (
36 rowid integer auto_increment primary key ,
38 spotcall varchar(14) not null,
41 spotter varchar(14) not null,
58 $self->do('create index spot_ix1 on spot(time desc)');
59 dbg('adding spot index ix1');
60 $self->do('create index spot_ix2 on spot(spotcall asc)');
61 dbg('adding spot index ix2');