Sha256: 182263b5eff6cdce95c96d6fb02c81abff5c6e5433e6e167ad89ca154596bbf4
Contents?: true
Size: 682 Bytes
Versions: 20
Compression:
Stored size: 682 Bytes
Contents
class CreateOperations < ActiveRecord::Migration[5.1] 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
20 entries across 20 versions & 1 rubygems