CREATE TABLE user_badges ( id integer primary key, user_id integer not null, post text(1000) not null, image text(1000) not null, description text(1000) default null, time timestamp default current_timestamp );