max-l/Squeryl — pull request #154 by GitsMcGee (2012-11-12 21:18:05+00:00)
Title: Update src/main/scala/org/squeryl/internals/DatabaseAdapter.scala

Bug when creating schemas on H2. In H2, the "primary key" and "auto_increment" need to be next to eachother. If they are not, the table will fail to be created with this kind of error:

org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "CREATE TABLE CATEGORY (
NAME VARCHAR(128) NOT NULL,
ID BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT[*]
) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: