mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 02:19:55 +08:00
This reduces chances of errors where consumers of strings mutate inputs and reduces memory usage of the app. Test suite passes now, but there may be some stuff left, so we will run a few sites on a branch prior to merging
8 lines
230 B
Ruby
Vendored
8 lines
230 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class AddIncomingEmailToGroups < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :groups, :incoming_email, :string, null: true
|
|
add_index :groups, :incoming_email, unique: true
|
|
end
|
|
end
|