Skip to content

Instantly share code, notes, and snippets.

@serut
Created January 5, 2016 10:00
Show Gist options
  • Save serut/3d0a39330dd4f76be701 to your computer and use it in GitHub Desktop.
Save serut/3d0a39330dd4f76be701 to your computer and use it in GitHub Desktop.
DBSchema SQLite issue
DROP TABLE IF EXISTS Foo;
CREATE TABLE Foo (
Id INTEGER NOT NULL,
Lastname VARCHAR( 32 ) ,
Firstname VARCHAR( 32 ) ,
PRIMARY KEY ( Id )
); //This is working so far
DROP TABLE IF EXISTS Foo;
CREATE TABLE Foo (
Id INTEGER NOT NULL,
Lastname VARCHAR( 32 ) ,
// fails here
Firstname VARCHAR( 32 ) ,
PRIMARY KEY ( Id )
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment