X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f12350f25275fbf4c6c8692122f5eacce89794ee..b43cf1d3398b7004ada50e053ae235b814c9aa70:/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=''")