mirror of
https://github.com/System-End/highway.git
synced 2026-04-19 20:55:14 +00:00
10 lines
196 B
Ruby
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
|