Class: CreateTotoroFailedMessages

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/totoro/templates/create_totoro_failed_messages.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
10
11
# File 'lib/generators/totoro/templates/create_totoro_failed_messages.rb', line 2

def change
  enable_extension "plpgsql"
  create_table :totoro_failed_messages do |t|
    t.string :class_name
    t.string :queue_id
    t.jsonb :payload
    t.string :group
    t.timestamps
  end
end