introduce db, some changes to UI

This commit is contained in:
Pavol Rusnak 2011-06-19 02:22:08 +02:00
parent 57f8f51b4f
commit e3c99305cc
17 changed files with 151 additions and 18 deletions

7
server/schema.sql Normal file
View file

@ -0,0 +1,7 @@
DROP TABLE IF EXISTS items;
CREATE TABLE items (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
price INTEGER NOT NULL,
code TEXT NOT NULL
);