0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/automation/db/migrate/20210108134117_add_pending_pms_table.rb
Osama Sayegh 3d4faf3272
FEATURE: Merge discourse-automation (#26432)
Automation (previously known as discourse-automation) is now a core plugin.
2024-04-03 18:20:43 +03:00

15 lines
404 B
Ruby
Vendored

# frozen_string_literal: true
class AddPendingPmsTable < ActiveRecord::Migration[6.0]
def change
create_table :discourse_automation_pending_pms do |t|
t.string :target_usernames, array: true
t.string :sender
t.string :title
t.string :raw
t.integer :automation_id, null: false
t.datetime :execute_at, null: false
t.timestamps null: false
end
end
end