Sha256: 65f42f119c01283b4f941251ecee68ce4a36428a3f21ab632e39de42c6c22d10
Contents?: true
Size: 528 Bytes
Versions: 5
Compression:
Stored size: 528 Bytes
Contents
class CreatePhcpressCategoryVersions < ActiveRecord::Migration[7.0] TEXT_BYTES = 1_073_741_823 def change create_table :phcpress_category_versions do |t| t.string :item_type, {:null=>false} t.integer :item_id, null: false t.string :event, null: false t.string :whodunnit t.text :object, limit: TEXT_BYTES t.datetime :created_at end add_index :phcpress_category_versions, %i(item_type item_id), :name => 'press_category_versions' end end
Version data entries
5 entries across 5 versions & 1 rubygems