Sha256: 8c95cf49c57a7384522ad67c1b45d51fd88a27076781f97a6a1b465675af0125
Contents?: true
Size: 522 Bytes
Versions: 10
Compression:
Stored size: 522 Bytes
Contents
class CreatePhcscriptcdnUrlVersions < ActiveRecord::Migration[5.2] TEXT_BYTES = 1_073_741_823 def change create_table :phcscriptcdn_url_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 :phcscriptcdn_url_versions, %i(item_type item_id), :name => 'scriptcdn_url_versions' end end
Version data entries
10 entries across 10 versions & 1 rubygems