Sha256: 7c175b62a702ba6fd3ea3334a4189fd1b1b55b11bedcfbeeb4f3987f4f2e6cd7
Contents?: true
Size: 677 Bytes
Versions: 47
Compression:
Stored size: 677 Bytes
Contents
class CreateOperations < ActiveRecord::Migration 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
47 entries across 47 versions & 3 rubygems