Skip to content

Instantly share code, notes, and snippets.

@codeholic
Last active December 24, 2015 20:09
Show Gist options
  • Select an option

  • Save codeholic/6856299 to your computer and use it in GitHub Desktop.

Select an option

Save codeholic/6856299 to your computer and use it in GitHub Desktop.
CREATE TABLE pattern (
pId INTEGER PRIMARY KEY AUTOINCREMENT,
rle TEXT UNIQUE,
sizeX INTEGER,
sizeY INTEGER,
start TEXT,
sx INTEGER,
sy INTEGER,
nrResults INTEGER
);
CREATE TABLE result (
pId INTEGER,
resNr INTEGER,
object TEXT,
dt INTEGER,
dx INTEGER,
dy INTEGER,
PRIMARY KEY (pId, resNr)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment