[ARVADOS] updated: a97c22ce97e867813d27dbace041de166bb26c09

git at public.curoverse.com git at public.curoverse.com
Tue Apr 1 20:22:06 EDT 2014


Summary of changes:
 .../20140402001908_add_system_user_group.rb        |   12 ++++++++++++
 services/api/db/schema.rb                          |    2 +-
 2 files changed, 13 insertions(+), 1 deletions(-)
 create mode 100644 services/api/db/migrate/20140402001908_add_system_user_group.rb

       via  a97c22ce97e867813d27dbace041de166bb26c09 (commit)
      from  7023263e319cbd93365f7104c866aba4886616da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit a97c22ce97e867813d27dbace041de166bb26c09
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Apr 1 20:22:15 2014 -0400

    Add migration to create system group in existing installations.

diff --git a/services/api/db/migrate/20140402001908_add_system_user_group.rb b/services/api/db/migrate/20140402001908_add_system_user_group.rb
new file mode 100644
index 0000000..4eea5ec
--- /dev/null
+++ b/services/api/db/migrate/20140402001908_add_system_user_group.rb
@@ -0,0 +1,12 @@
+class AddSystemUserGroup < ActiveRecord::Migration
+  include CurrentApiClient
+
+  def up
+    # Make sure the system group exists.
+    system_group
+  end
+
+  def down
+    # The system group does no harm if we don't delete it.
+  end
+end
diff --git a/services/api/db/schema.rb b/services/api/db/schema.rb
index 8ab6f5f..fe31666 100644
--- a/services/api/db/schema.rb
+++ b/services/api/db/schema.rb
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20140324024606) do
+ActiveRecord::Schema.define(:version => 20140402001908) do
 
   create_table "api_client_authorizations", :force => true do |t|
     t.string   "api_token",                                           :null => false

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list