10 lines
375 B
SQL
10 lines
375 B
SQL
CREATE table if not exists posts (
|
|
id integer primary key auto_increment,
|
|
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)
|