package ore.db.impl.table.common

import ore.db.impl.OrePostgresDriver.api._
import ore.db.impl.common.Describable

/**
  * Represents a column in a [[ModelTable]] that holds a description.
  *
  * @tparam M Model type
  */
trait DescriptionColumn[M <: Describable] extends ModelTable[M] {

  /**
    * The [[ModelTable]]'s description column.
    *
    * @return Description column
    */
  def description = column[String]("description")

}
