alter table links_chatpicmessage add column sender integer, add constraint fk_test foreign key (sender) references auth_user (id);
CREATE TABLE so_items ( so_id INTEGER, ... FOREIGN KEY (so_id) REFERENCES so_headers (id) );
CREATE TABLE TABLE ( column_1 data_type PRIMARY KEY, column_2 data_type, … );