[ARVADOS] updated: 5bb258b6e289b97e4bda28ff1b2d50a255339030

git at public.curoverse.com git at public.curoverse.com
Fri Sep 19 10:47:17 EDT 2014


Summary of changes:
 .../api/db/migrate/20140918141529_change_user_owner_uuid_not_null.rb   | 2 ++
 services/api/db/structure.sql                                          | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

       via  5bb258b6e289b97e4bda28ff1b2d50a255339030 (commit)
      from  9d724d2028cc942b02f5a3846fc25d46761ce136 (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 5bb258b6e289b97e4bda28ff1b2d50a255339030
Author: Tim Pierce <twp at curoverse.com>
Date:   Fri Sep 19 10:45:50 2014 -0400

    Bug fix: migration requires CurrentApiClient
    
    Migration 20140918141529_change_user_owner_uuid_not_null requires
    system_user_uuid, which is defined in CurrentApiClient.
    
    No issue # (bug fix)

diff --git a/services/api/db/migrate/20140918141529_change_user_owner_uuid_not_null.rb b/services/api/db/migrate/20140918141529_change_user_owner_uuid_not_null.rb
index 0712ecd..683e5c7 100644
--- a/services/api/db/migrate/20140918141529_change_user_owner_uuid_not_null.rb
+++ b/services/api/db/migrate/20140918141529_change_user_owner_uuid_not_null.rb
@@ -1,4 +1,6 @@
 class ChangeUserOwnerUuidNotNull < ActiveRecord::Migration
+  include CurrentApiClient
+
   def up
     User.update_all({owner_uuid: system_user_uuid}, 'owner_uuid is null')
     change_column :users, :owner_uuid, :string, :null => false
diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql
index 0d8b9dd..f991d03 100644
--- a/services/api/db/structure.sql
+++ b/services/api/db/structure.sql
@@ -2023,5 +2023,4 @@ INSERT INTO schema_migrations (version) VALUES ('20140911221252');
 
 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
 
-INSERT INTO schema_migrations (version) VALUES ('20140918153541');
-
+INSERT INTO schema_migrations (version) VALUES ('20140918153541');
\ No newline at end of file

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list