t.string "to_state", null: false # t.text "metadata", default: "{}" # t.integer "sort_key", null: false # t.integer "task_id", null: false # t.boolean "most_recent", null: false # t.datetime "created_at" # t.datetime "updated_at" # end # class TaskTransition < ActiveRecord::Base include Statesman::Adapters::ActiveRecordTransition belongs_to :task, inverse_of: :task_transitions end