highway/db/migrate/20250508025519_create_rsvps.rb
2025-05-07 23:07:54 -04:00

10 lines
196 B
Ruby

class CreateRsvps < ActiveRecord::Migration[8.0]
def change
create_table :rsvps do |t|
t.string :email
t.timestamps
end
add_index :rsvps, :email, unique: true
end
end