clear lot comments table
parent
3a0c53f714
commit
ed2af5f23d
|
|
@ -33,8 +33,9 @@ function purgeTables() {
|
|||
database.prepare("delete from LotOccupancyComments").run();
|
||||
database.prepare("delete from LotOccupancyOccupants").run();
|
||||
database.prepare("delete from LotOccupancies").run();
|
||||
database.prepare("delete from LotComments").run();
|
||||
database.prepare("delete from Lots").run();
|
||||
database.prepare("delete from sqlite_sequence where name in ('Lots', 'LotOccupancies', 'LotOccupancyComments')").run();
|
||||
database.prepare("delete from sqlite_sequence where name in ('Lots', 'LotComments', 'LotOccupancies', 'LotOccupancyComments')").run();
|
||||
database.close();
|
||||
}
|
||||
function purgeConfigTables() {
|
||||
|
|
|
|||
|
|
@ -177,8 +177,9 @@ function purgeTables() {
|
|||
database.prepare("delete from LotOccupancyComments").run();
|
||||
database.prepare("delete from LotOccupancyOccupants").run();
|
||||
database.prepare("delete from LotOccupancies").run();
|
||||
database.prepare("delete from LotComments").run();
|
||||
database.prepare("delete from Lots").run();
|
||||
database.prepare("delete from sqlite_sequence where name in ('Lots', 'LotOccupancies', 'LotOccupancyComments')").run();
|
||||
database.prepare("delete from sqlite_sequence where name in ('Lots', 'LotComments', 'LotOccupancies', 'LotOccupancyComments')").run();
|
||||
database.close();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue