Class: CreateTochkaCyclopsErrors

Inherits:
Object
  • Object
show all
Defined in:
lib/tochka_cyclops_api/generators/templates/tochka_cyclops_errors_migration_template.rb

Overview

ErrorsMigration generator

Instance Method Summary collapse

Instance Method Details

#changeObject



5
6
7
8
9
10
11
12
# File 'lib/tochka_cyclops_api/generators/templates/tochka_cyclops_errors_migration_template.rb', line 5

def change
  create_table :tochka_cyclops_errors do |t|
    t.jsonb :body
    t.integer :code
    t.string :message
    t.timestamps
  end
end