From: Carl N Baldwin Date: Sun, 16 Oct 2005 04:00:41 +0000 (-0600) Subject: Adding sql schema file X-Git-Tag: release-0.4~110 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/%7Blink_participation%7D?a=commitdiff_plain;h=3694170c2e81e735ea3376108e2ef40d203c4e0f;p=backups%2F.git Adding sql schema file --- diff --git a/Makefile.am b/Makefile.am index a9d90e3..30391e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,9 @@ bin_PROGRAMS = lsbackups bin_SCRIPTS = find-cmd.sh -EXTRA_DIST = $(bin_SCRIPTS) +schema_files = schema.sql + +EXTRA_DIST = $(bin_SCRIPTS) $(schema_files) lsbackups_SOURCES = main.cc \ filedata.hpp \ diff --git a/schema.sql b/schema.sql new file mode 100644 index 0000000..d1515d9 --- /dev/null +++ b/schema.sql @@ -0,0 +1,9 @@ +CREATE TABLE file ( + CHAR type, + VARCHAR permissions, + VARCHAR user, + VARCHAR group, + INTEGER size, + INTEGER modified_date, + VARCHAR name +)