mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00: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
|
-- 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,description,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,description,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 (3,'Evict dinosaurs from the garden',3,'',0,1);
|
||||||
|
|
||||||
|
|
||||||
-- Dump of table schema_info
|
-- Dump of table schema_info
|
||||||
|
|
|
||||||
18
tracks/test/fixtures/contexts.yml
vendored
18
tracks/test/fixtures/contexts.yml
vendored
|
|
@ -3,44 +3,62 @@
|
||||||
agenda:
|
agenda:
|
||||||
id: 1
|
id: 1
|
||||||
name: agenda
|
name: agenda
|
||||||
|
position: 1
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
call:
|
call:
|
||||||
id: 2
|
id: 2
|
||||||
name: call
|
name: call
|
||||||
|
position: 2
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
email:
|
email:
|
||||||
id: 3
|
id: 3
|
||||||
name: email
|
name: email
|
||||||
|
position: 3
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
errand:
|
errand:
|
||||||
id: 4
|
id: 4
|
||||||
name: errand
|
name: errand
|
||||||
|
position: 4
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
lab:
|
lab:
|
||||||
id: 5
|
id: 5
|
||||||
name: lab
|
name: lab
|
||||||
|
position: 5
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
library:
|
library:
|
||||||
id: 6
|
id: 6
|
||||||
name: library
|
name: library
|
||||||
|
position: 6
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
freetime:
|
freetime:
|
||||||
id: 7
|
id: 7
|
||||||
name: freetime
|
name: freetime
|
||||||
|
position: 7
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
office:
|
office:
|
||||||
id: 8
|
id: 8
|
||||||
name: office
|
name: office
|
||||||
|
position: 8
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
waitingfor:
|
waitingfor:
|
||||||
id: 9
|
id: 9
|
||||||
name: waiting for
|
name: waiting for
|
||||||
|
position: 9
|
||||||
|
hide: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
|
||||||
3
tracks/test/fixtures/projects.yml
vendored
3
tracks/test/fixtures/projects.yml
vendored
|
|
@ -4,6 +4,7 @@ timemachine:
|
||||||
id: 1
|
id: 1
|
||||||
name: Build a working time machine
|
name: Build a working time machine
|
||||||
description: ''
|
description: ''
|
||||||
|
position: 1
|
||||||
done: 0
|
done: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
|
|
@ -11,6 +12,7 @@ moremoney:
|
||||||
id: 2
|
id: 2
|
||||||
name: Make more money than Billy Gates
|
name: Make more money than Billy Gates
|
||||||
description: ''
|
description: ''
|
||||||
|
position: 2
|
||||||
done: 0
|
done: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
||||||
|
|
@ -18,5 +20,6 @@ gardenclean:
|
||||||
id: 3
|
id: 3
|
||||||
name: Evict dinosaurs from the garden
|
name: Evict dinosaurs from the garden
|
||||||
description: ''
|
description: ''
|
||||||
|
position: 3
|
||||||
done: 0
|
done: 0
|
||||||
user_id: 1
|
user_id: 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue