Sha256: 4901a0fe7df8575d8395dc23ced0c1da89ce7b8b53674518392d3d7d4ed839f8

Contents?: true

Size: 540 Bytes

Versions: 15

Compression:

Stored size: 540 Bytes

Contents

class CreatePhcdevworksScriptsListingVersions < ActiveRecord::Migration[6.0]
  TEXT_BYTES = 1_073_741_823
  def change

    create_table :phcdevworks_scripts_listing_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 :phcdevworks_scripts_listing_versions, %i(item_type item_id), :name => 'script_listing_versions'

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
phcdevworks_scripts-5.8.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.7.1 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.7.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.6.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.5.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.4.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.3.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.2.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.1.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-5.0.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-4.1.1 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-4.1.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-4.0.2 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-4.0.1 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb
phcdevworks_scripts-4.0.0 db/migrate/20170517064049_create_phcdevworks_scripts_listing_versions.rb