Sha256: e7d346279c149dcc9804eceaa9b2d824dfd4bf345c8a2739ccd6571962225384
Contents?: true
Size: 263 Bytes
Versions: 2
Compression:
Stored size: 263 Bytes
Contents
class CreateCounterValues < ActiveRecord::Migration[6.1] def change create_table :counter_values do |t| t.string :name, index: true t.integer :value, default: 0 t.references :parent, polymorphic: true t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
counterwise-0.1.1 | db/migrate/20210705154113_create_counter_values.rb |
counterwise-0.1.0 | db/migrate/20210705154113_create_counter_values.rb |