create table files ( id text not null primary key, name text not null default '', content_type text not null default '', storage_path text not null default '', storage_filename text not null default '', date_created numeric not null default current_timestamp, date_updated numeric not null default 0, content blob, _version text not null );