summaryrefslogtreecommitdiffstats
path: root/bin/app.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/app.pl')
-rwxr-xr-xbin/app.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/app.pl b/bin/app.pl
index 8a5045b..5b8d7be 100755
--- a/bin/app.pl
+++ b/bin/app.pl
@@ -5,7 +5,8 @@ use Dancer;
use DBI;
#Struktura bazy
-#id, int; isbn, int; tytul, string; autor, string; owner, string; state, bool (czy pozyczona, 0=dostepna, 1=wzieta); type, bool (mozna brac ze soba? 1=tak, 0=nie)
+#id, int; isbn, int; tytul, string; autor, string; owner, string;
+#state, bool (czy pozyczona, 1=dostepna, 0=wzieta); can_borrow, bool (mozna brac ze soba? 1=tak, 0=nie)
my $dbfile = 'ksiazki.db';
my $dbh = DBI->connect("dbi:SQLite:dbname=$dbfile", "", "");