Add missing files :(
This commit is contained in:
parent
b69cd9df2a
commit
4182608f39
3 changed files with 69 additions and 0 deletions
15
db/migrate/20251013095048_create_bulk_email_sessions.rb
Normal file
15
db/migrate/20251013095048_create_bulk_email_sessions.rb
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class CreateBulkEmailSessions < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :bulk_email_sessions do |t|
|
||||
t.string :token, null: false
|
||||
t.text :recipient_emails
|
||||
t.string :filter_type
|
||||
t.string :search_term
|
||||
t.datetime :expires_at
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
add_index :bulk_email_sessions, :token, unique: true
|
||||
add_index :bulk_email_sessions, :expires_at
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue