8 lines
175 B
Ruby
8 lines
175 B
Ruby
class AddJoinCodeToAccounts < ActiveRecord::Migration[8.0]
|
|
def change
|
|
change_table :accounts do |t|
|
|
t.string :join_code, index: { unique: true }
|
|
end
|
|
end
|
|
end
|