X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..737dcc58241a06e32615624877d3301b90574227:/services/api/db/migrate/20140818125735_add_not_null_constraint_to_group_name.rb diff --git a/services/api/db/migrate/20140818125735_add_not_null_constraint_to_group_name.rb b/services/api/db/migrate/20140818125735_add_not_null_constraint_to_group_name.rb index 1b074705c3..13224205e6 100644 --- a/services/api/db/migrate/20140818125735_add_not_null_constraint_to_group_name.rb +++ b/services/api/db/migrate/20140818125735_add_not_null_constraint_to_group_name.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class AddNotNullConstraintToGroupName < ActiveRecord::Migration def change ActiveRecord::Base.connection.execute("update groups set name=uuid where name is null or name=''")