mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-30 20:55:17 +01:00
Fixed SQLite dump format in db/tracks_1.0.2_sqlite.sql (thanks, Jim). This fixes ticket:9
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@46 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
2f2909e930
commit
30ccf8446e
2 changed files with 48 additions and 47 deletions
|
|
@ -1,29 +1,29 @@
|
|||
# SQLite dump
|
||||
# ************************************************************
|
||||
- SQLite dump
|
||||
- ************************************************************
|
||||
|
||||
# Dump of table contexts
|
||||
# ------------------------------------------------------------
|
||||
- Dump of table contexts
|
||||
- ------------------------------------------------------------
|
||||
|
||||
CREATE TABLE 'contexts' (
|
||||
'id' INTEGER PRIMARY KEY,
|
||||
'name' varchar(255) NOT NULL default '',
|
||||
'hide' tinyint(4) NOT NULL default '0',
|
||||
'hide' tinyint(4) NOT NULL default '0'
|
||||
)
|
||||
|
||||
|
||||
|
||||
# Dump of table projects
|
||||
# ------------------------------------------------------------
|
||||
- Dump of table projects
|
||||
- ------------------------------------------------------------
|
||||
|
||||
CREATE TABLE 'projects' (
|
||||
'id' INTEGER PRIMARY KEY,
|
||||
'name' varchar(255) NOT NULL default '',
|
||||
'name' varchar(255) NOT NULL default ''
|
||||
)
|
||||
|
||||
|
||||
|
||||
# Dump of table todos
|
||||
# ------------------------------------------------------------
|
||||
- Dump of table todos
|
||||
- ------------------------------------------------------------
|
||||
|
||||
CREATE TABLE 'todos' (
|
||||
'id' INTEGER PRIMARY KEY,
|
||||
|
|
@ -34,60 +34,60 @@ CREATE TABLE 'todos' (
|
|||
'created' datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
'due' date default NULL,
|
||||
'completed' datetime default NULL,
|
||||
'project_id' int(11) default NULL,
|
||||
'project_id' int(11) default NULL
|
||||
)
|
||||
|
||||
|
||||
|
||||
# Dump of table users
|
||||
# ------------------------------------------------------------
|
||||
- Dump of table users
|
||||
- ------------------------------------------------------------
|
||||
|
||||
CREATE TABLE 'users' (
|
||||
'id' INTEGER PRIMARY KEY,
|
||||
'login' varchar(80) default NULL,
|
||||
'password' varchar(40) default NULL,
|
||||
'word' varchar(255) default NULL,
|
||||
'is_admin' tinyint(4) NOT NULL default '0',
|
||||
'is_admin' tinyint(4) NOT NULL default '0'
|
||||
)
|
||||
|
||||
# Dump of table contexts
|
||||
# ------------------------------------------------------------
|
||||
- Dump of table contexts
|
||||
- ------------------------------------------------------------
|
||||
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("1","agenda","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("2","call","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("3","email","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("4","errand","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("5","lab","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("6","library","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("7","freetime","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("8","office","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("11","waiting-for","0");
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("1","agenda","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("2","call","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("3","email","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("4","errand","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("5","lab","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("6","library","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("7","freetime","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("8","office","0")
|
||||
INSERT INTO 'contexts' ('id','name','hide') VALUES ("11","waiting-for","0")
|
||||
|
||||
|
||||
# Dump of table projects
|
||||
# ------------------------------------------------------------
|
||||
- Dump of table projects
|
||||
- ------------------------------------------------------------
|
||||
|
||||
INSERT INTO 'projects' ('id','name') VALUES ("1","Build a working time machine");
|
||||
INSERT INTO 'projects' ('id','name') VALUES ("2","Make more money than Billy Gates");
|
||||
INSERT INTO 'projects' ('id','name') VALUES ("3","Evict dinosaurs from the garden");
|
||||
INSERT INTO 'projects' ('id','name') VALUES ("1","Build a working time machine")
|
||||
INSERT INTO 'projects' ('id','name') VALUES ("2","Make more money than Billy Gates")
|
||||
INSERT INTO 'projects' ('id','name') VALUES ("3","Evict dinosaurs from the garden")
|
||||
|
||||
|
||||
# Dump of table todos
|
||||
# ------------------------------------------------------------
|
||||
- Dump of table todos
|
||||
- ------------------------------------------------------------
|
||||
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("1","1","Call Bill Gates to find out how much he makes per day","","0","2004-11-28 16:01:00","2004-10-30",NULL,"2");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("52","2","Call dinosaur exterminator","Ask him if I need to hire a skip for the corpses.","0","2004-11-28 16:06:08","2004-11-30",NULL,"3");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("53","4","Buy milk","","1","2004-11-28 16:06:31","0000-00-00","2004-11-28 16:06:42",NULL);
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("54","4","Buy bread","","1","2004-11-28 16:06:58","0000-00-00","2004-11-30 13:41:09",NULL);
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("55","5","Construct time dilation device","","0","2004-11-28 16:07:33","0000-00-00",NULL,"1");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("56","2","Phone Grandfather to ask about the paradox","Added some _notes_.","0","2004-11-28 16:08:33","2004-12-30",NULL,"1");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("61","6","Get a book out of the library","Dinosaurs\'R\'Us","0","2004-12-22 14:07:06","0000-00-00",NULL,"3");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("60","4","Upgrade to Rails 0.9.1","","1","2004-12-20 17:02:52","2004-12-21","2004-12-20 17:06:48",NULL);
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("65","1","This should be due today","","0","2004-12-31 17:23:06","2004-12-31",NULL,NULL);
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("75","1","foo","","1","2004-12-31 18:38:34","2005-01-05","2005-01-02 12:27:10",NULL);
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("81","1","Buy shares","","0","2005-01-01 12:40:26","2005-02-01",NULL,"2");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("85","1","Buy stegosaurus bait","","1","2005-01-01 12:53:12","2005-01-02","2005-01-01 12:53:43","3");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("92","1","New action in context","Some notes","1","2005-01-02 14:52:49","2005-03-01","2005-01-02 15:44:19","3");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("97","2","Call stock broker","tel: 12345","0","2005-01-03 11:38:25","0000-00-00",NULL,"2");
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("1","1","Call Bill Gates to find out how much he makes per day","","0","2004-11-28 16:01:00","2004-10-30",NULL,"2")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("52","2","Call dinosaur exterminator","Ask him if I need to hire a skip for the corpses.","0","2004-11-28 16:06:08","2004-11-30",NULL,"3")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("53","4","Buy milk","","1","2004-11-28 16:06:31","0000-00-00","2004-11-28 16:06:42",NULL)
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("54","4","Buy bread","","1","2004-11-28 16:06:58","0000-00-00","2004-11-30 13:41:09",NULL)
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("55","5","Construct time dilation device","","0","2004-11-28 16:07:33","0000-00-00",NULL,"1")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("56","2","Phone Grandfather to ask about the paradox","Added some _notes_.","0","2004-11-28 16:08:33","2004-12-30",NULL,"1")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("61","6","Get a book out of the library","Dinosaurs\'R\'Us","0","2004-12-22 14:07:06","0000-00-00",NULL,"3")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("60","4","Upgrade to Rails 0.9.1","","1","2004-12-20 17:02:52","2004-12-21","2004-12-20 17:06:48",NULL)
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("65","1","This should be due today","","0","2004-12-31 17:23:06","2004-12-31",NULL,NULL)
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("75","1","foo","","1","2004-12-31 18:38:34","2005-01-05","2005-01-02 12:27:10",NULL)
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("81","1","Buy shares","","0","2005-01-01 12:40:26","2005-02-01",NULL,"2")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("85","1","Buy stegosaurus bait","","1","2005-01-01 12:53:12","2005-01-02","2005-01-01 12:53:43","3")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("92","1","New action in context","Some notes","1","2005-01-02 14:52:49","2005-03-01","2005-01-02 15:44:19","3")
|
||||
INSERT INTO 'todos' ('id','context_id','description','notes','done','created','due','completed','project_id') VALUES ("97","2","Call stock broker","tel: 12345","0","2005-01-03 11:38:25","0000-00-00",NULL,"2")
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@ Project wiki: <http://www.rousette.org.uk/projects/wiki/>
|
|||
## Version 1.021
|
||||
|
||||
1. Added back border="0" to images which I had mistakenly taken out (thanks, Adam Hughes)
|
||||
2. Removed the section in config/environment.rb which requires Redcloth. This was causing errors because Rails now requires Redcloth itself. This means that you now need to have Redcloth installed as a gem (gem install redcloth).
|
||||
2. Removed the section in config/environment.rb which requires Redcloth. This was causing errors because Rails now requires Redcloth itself. This means that you now need to have Redcloth installed as a gem (gem install redcloth) (thanks, Jim).
|
||||
3. Fixed SQLite dump format in db/tracks_1.0.2_sqlite.sql (thanks, Jim)
|
||||
|
||||
## Version 1.02
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue