diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2015-04-21 09:51:07 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2016-01-27 01:50:45 +0100 |
commit | c4c0d3425190df6ad1e0617dcccc4d5f5f4bf17e (patch) | |
tree | 9c2aa14bac68a77aee62bbaf6fc302eef453842b /db | |
parent | 2448258421fe1d86fc806489313786b4e6e27c75 (diff) | |
download | ecs2-c4c0d3425190df6ad1e0617dcccc4d5f5f4bf17e.tar.gz ecs2-c4c0d3425190df6ad1e0617dcccc4d5f5f4bf17e.zip |
Type tags for /sys/memberships.
Participants in /sys/mebmberships representation are now tagged with
their appropriate participant type:
main: mainparticipant
sub: subparticipant
anonym: anonymous participant
e.g.
[
{
"community": {
"name": "public",
"description": "For anonymous participants.",
"cid": 1
},
"participants": [
{
"pid": 2,
--> "type": "main",
"name": "Computation client",
"itsyou": true,
"description": "Computation client of NumLab service.",
"org": {
"abbr": "S",
"name": "Universität Stuttgart"
},
"mid": 1,
"email": "rudlof@rus.uni-stuttgart.de",
"dns": "nfldevvipecs.rus.uni-stuttgart.de"
},
...
This feature needs a database migration.
Diffstat (limited to 'db')
-rw-r--r-- | db/schema.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 254e303..4bf5c6b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,7 +9,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140525164346) do +ActiveRecord::Schema.define(:version => 20150420210728) do create_table "auths", :force => true do |t| t.string "one_touch_hash" @@ -100,6 +100,7 @@ ActiveRecord::Schema.define(:version => 20140525164346) do t.datetime "updated_at" t.boolean "community_selfrouting", :default => false t.boolean "events_", :default => true + t.string "ptype" end create_table "ressources", :force => true do |t| |