mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Implement invitation codes
This commit is contained in:
9
db/migrate/20240202230325_create_invite_codes.rb
Normal file
9
db/migrate/20240202230325_create_invite_codes.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class CreateInviteCodes < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :invite_codes, id: :uuid do |t|
|
||||
t.string :token, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user