create_table "gi_job_transactions", id: :bigint, unsigned: true, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t| t.references "owner", polymorphic: true t.string "name", default: "-", null: false t.integer "status", default: 100, null: false t.integer "counts_all" t.integer "counts_progress" t.integer "counts_completed" t.integer "counts_errord" t.integer "command", default: 100, null: false t.text "parameter" t.string "process_id" t.integer "process_status", default: 100, null: false t.text "process_progress" t.timestamps end add_index "gi_job_transactions", ["owner_id", "owner_type", "name", "status"], name: "gi_job_transactions_ix1", using: :btree add_index "gi_job_transactions", ["updated_at"], name: "gi_job_transactions_ix2", using: :btree