mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Updated the contexts.yml and projects.yml with the new database fields. Also
added the new description field for projects in the content sql file. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@138 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
db7084dabe
commit
f161ddf4ff
3 changed files with 24 additions and 3 deletions
|
|
@ -25,9 +25,9 @@ INSERT INTO notes (id,user_id,project_id,body,created_at,updated_at) VALUES (1,1
|
|||
-- Dump of table projects
|
||||
-- ------------------------------------------------------------
|
||||
|
||||
INSERT INTO projects (id,name,position,done,user_id) VALUES (1,'Build a working time machine',1,0,1);
|
||||
INSERT INTO projects (id,name,position,done,user_id) VALUES (2,'Make more money than Billy Gates',2,0,1);
|
||||
INSERT INTO projects (id,name,position,done,user_id) VALUES (3,'Evict dinosaurs from the garden',3,0,1);
|
||||
INSERT INTO projects (id,name,position,description,done,user_id) VALUES (1,'Build a working time machine',1,'',0,1);
|
||||
INSERT INTO projects (id,name,position,description,done,user_id) VALUES (2,'Make more money than Billy Gates',2,'',0,1);
|
||||
INSERT INTO projects (id,name,position,description,done,user_id) VALUES (3,'Evict dinosaurs from the garden',3,'',0,1);
|
||||
|
||||
|
||||
-- Dump of table schema_info
|
||||
|
|
|
|||
18
tracks/test/fixtures/contexts.yml
vendored
18
tracks/test/fixtures/contexts.yml
vendored
|
|
@ -3,44 +3,62 @@
|
|||
agenda:
|
||||
id: 1
|
||||
name: agenda
|
||||
position: 1
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
call:
|
||||
id: 2
|
||||
name: call
|
||||
position: 2
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
email:
|
||||
id: 3
|
||||
name: email
|
||||
position: 3
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
errand:
|
||||
id: 4
|
||||
name: errand
|
||||
position: 4
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
lab:
|
||||
id: 5
|
||||
name: lab
|
||||
position: 5
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
library:
|
||||
id: 6
|
||||
name: library
|
||||
position: 6
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
freetime:
|
||||
id: 7
|
||||
name: freetime
|
||||
position: 7
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
office:
|
||||
id: 8
|
||||
name: office
|
||||
position: 8
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
||||
waitingfor:
|
||||
id: 9
|
||||
name: waiting for
|
||||
position: 9
|
||||
hide: 0
|
||||
user_id: 1
|
||||
|
|
|
|||
3
tracks/test/fixtures/projects.yml
vendored
3
tracks/test/fixtures/projects.yml
vendored
|
|
@ -4,6 +4,7 @@ timemachine:
|
|||
id: 1
|
||||
name: Build a working time machine
|
||||
description: ''
|
||||
position: 1
|
||||
done: 0
|
||||
user_id: 1
|
||||
|
||||
|
|
@ -11,6 +12,7 @@ moremoney:
|
|||
id: 2
|
||||
name: Make more money than Billy Gates
|
||||
description: ''
|
||||
position: 2
|
||||
done: 0
|
||||
user_id: 1
|
||||
|
||||
|
|
@ -18,5 +20,6 @@ gardenclean:
|
|||
id: 3
|
||||
name: Evict dinosaurs from the garden
|
||||
description: ''
|
||||
position: 3
|
||||
done: 0
|
||||
user_id: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue