discourse/plugins/automation/db/migrate/20210108134117_add_pending_...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
404 B
Ruby
Raw Normal View History

# 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