go-xorm / cmd

Command line tools for database operation written by Go, moved to https://gitea.com/xorm/cmd
BSD 3-Clause "New" or "Revised" License
168 stars 77 forks source link

add the judgment of created, updated, and deleted tags #56

Closed saraka closed 5 years ago

saraka commented 5 years ago

by default, 'created' will append to tags when the column name is created_at, and 'updated_at'=>'updated','deleted_at'=>'deleted'. you can set the configuration to change your column name, separated by commas.

lunny commented 5 years ago

Please resend the PR.