尝试使用 clojure.java.sql/create-table 创建表时出现异常:
batch entry 0: near "-": syntax error
[Thrown class java.sql.BatchUpdateException]
create-table 调用如下所示:
(sql/create-table :stories
[:story-id :integer "PRIMARY KEY"]
[:story-name :text]
[:story-name-url :text]
[:category :text]
[:genre-one :text]
[:genre-two :text]
[:created-on :text]
[:updated-on :text]
[:review-count :integer]
[:chapter-count :integer]
[:word-count :integer]
[:rating :integer]
[:language :integer]
[:is-complete :boolean]
[:is-crossover :boolean]
[:type :text]
[:pairing :text]))))