Sha256: 965a63ede0cf3524eefcf51847a9e300cd2508d4cca504bf395f2e4be54ef7c8
Contents?: true
Size: 682 Bytes
Versions: 34
Compression:
Stored size: 682 Bytes
Contents
class CreateOperations < ActiveRecord::Migration[5.2] def change create_table :curation_concerns_operations do |t| t.string :status t.string :operation_type t.string :job_class t.string :job_id t.string :type # For Single Table Inheritance t.text :message t.references :user, index: true, foreign_key: true t.integer :parent_id, null: true, index: true t.integer :lft, null: false, index: true t.integer :rgt, null: false, index: true # optional fields t.integer :depth, null: false, default: 0 t.integer :children_count, null: false, default: 0 t.timestamps null: false end end end
Version data entries
34 entries across 24 versions & 1 rubygems