projects
/
git-sql-sphinx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f7bed
)
sql schema for git log
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 5 May 2010 21:25:04 +0000
(23:25 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 5 May 2010 21:25:04 +0000
(23:25 +0200)
git.sql
[new file with mode: 0644]
patch
|
blob
diff --git a/git.sql
b/git.sql
new file mode 100644
(file)
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);
+