From 06a3eeb7c466340170c9d9cf11c8ef75393be2fb Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 5 May 2010 23:25:04 +0200 Subject: [PATCH] sql schema for git log --- git.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 git.sql diff --git a/git.sql b/git.sql new file mode 100644 index 0000000..296d999 --- /dev/null +++ b/git.sql @@ -0,0 +1,18 @@ +\r mysql + +create database git ; + +grant all on git.* to dpavlin ; + +\r git + +create table log ( + id integer primary key not null auto_increment, + hash varchar(40) not null, + parent varchar(40) not null, + timestamp datetime not null, + subject text not null +); + +create unique index log_hash on log(hash); + -- 2.20.1