I tried using sqlformat -r on some SQL create table statements, and it produced this:
CREATE TABLE assigned(atom_id integer REFERENCES atom_base,
val boolean);
CREATE TABLE atom_base(atom_id integer PRIMARY KEY);
CREATE TABLE clause_base(clause_id integer PRIMARY KEY);
CREATE TABLE literal(clause_id integer REFERENCES clause_base,
polarity boolean, atom_id integer REFERENCES atom_base);
So the formatting isn't correct. Is there something I'm missing, something I should be doing different to make it work?