CREATE table if not exists posts ( id integer primary key autoincrement, username text not null, content text not null, location text not null, visibility text null, created timestamp not null default current_timestamp, updated timestamp not null default current_timestamp, sort integer not null default 0)