Jump to content

Topic ID column in topic trait


Go to solution Solved by Ryan Ashbrook,

Recommended Posts

You are using a hard-coded column name:

	/**
	 * Get the database column which stores the topic ID
	 *
	 * @return	string
	 */
	public static function topicIdColumn()
	{
		return 'topicid';
	}

Can't you use a mapped column from the model to avoid changing files and templates? That happens in apps that uses topics released before the trait.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...