Sha256: 096019bd848f83e1e704cfbda3cb1e5ef3cf2d8f639fceb18b661b26efc6872d
Contents?: true
Size: 512 Bytes
Versions: 10
Compression:
Stored size: 512 Bytes
Contents
class CreatePhcpressPostVersions < ActiveRecord::Migration[5.2] TEXT_BYTES = 1_073_741_823 def change create_table :phcpress_post_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_post_versions, %i(item_type item_id), :name => 'press_post_versions' end end
Version data entries
10 entries across 10 versions & 1 rubygems