Sha256: f837cdb9e98477bf7d4a4fe6f66878b527b6027d3d23246c0f8734ef2bbd6e31

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

# ErrorsMigration generator
class CreateTochkaCyclopsErrors < ActiveRecord::Migration[6.0]
  def change
    create_table :tochka_cyclops_errors do |t|
      t.jsonb :body
      t.integer :code
      t.string :message
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tochka_cyclops_api-0.4.0 lib/tochka_cyclops_api/generators/templates/tochka_cyclops_errors_migration_template.rb
tochka_cyclops_api-0.3.0 lib/tochka_cyclops_api/generators/templates/tochka_cyclops_errors_migration_template.rb
tochka_cyclops_api-0.2.0 lib/tochka_cyclops_api/generators/templates/tochka_cyclops_errors_migration_template.rb