Sha256: 00afa94c95f239e29fccdaee533b168cf1ab8b86f794d5155e432f9c90af681e

Contents?: true

Size: 547 Bytes

Versions: 9

Compression:

Stored size: 547 Bytes

Contents

class CreatePhcdevworksScriptsUrlVersions < ActiveRecord::Migration[5.2]
  TEXT_BYTES = 1_073_741_823
  def change

    create_table :phcdevworks_scripts_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 :phcdevworks_scripts_url_versions, %i(item_type item_id), :name => 'scriptcdnpro_url_versions'

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
phcdevworks_scripts-3.0.1 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-3.0.0 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-2.3.1 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-2.3.0 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-2.2.0 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-2.1.1 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-2.1.0 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-1.0.0 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb
phcdevworks_scripts-0.1.0 db/migrate/20170517064150_create_phcdevworks_scripts_url_versions.rb