You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/db/migrate/20181118075620_sync_gitlab_...

7 lines
174 B

6 years ago
class SyncGitlabAdmin < ActiveRecord::Migration[5.2]
def change
user = User.find_by_login("forge01")
user.update_column(:mail, 'admin@example.com')
end
end