Sha256: 5bd506bfb8a0b63b5677a16c006eb64ad9b5985bb91ee9931e9cf760380449f1

Contents?: true

Size: 536 Bytes

Versions: 15

Compression:

Stored size: 536 Bytes

Contents

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

    create_table :phcdevworks_scripts_author_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_author_versions, %i(item_type item_id), :name => 'script_author_versions'

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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