Sha256: f75f946219cd388b259e1e2dd740cc53dc543202fedd2eab5091b1f456b1cf25

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

class CreateCounterChanges < ActiveRecord::Migration[6.1]
  def change
    create_table :counter_changes do |t|
      t.references :counter_value, foreign_key: true
      t.integer :amount
      t.timestamp :processed_at, index: true

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
counterwise-0.1.1 db/migrate/20210709211056_create_counter_changes.rb
counterwise-0.1.0 db/migrate/20210709211056_create_counter_changes.rb