Skip to content
#

mapping

Here are 1,594 public repositories matching this topic...

shyandsy
shyandsy commented May 2, 2021

数据表自带prefix,生成model struct和文件名也都带上了prefix,有办法去掉么

比如我所有数据表都有prefix = xxxproject_, 用户表为
xxxproject_customer,生成的model就是

type XxxprojectCustomer struct{
}

对应文件是xxxproject_customer.go

我已经在config.yaml里面制定了table_prefix = “xxxproject_”

editor
orangemug
orangemug commented Jan 30, 2020

'react-autocomplete' (https://github.com/reactjs/react-autocomplete) is no longer maintained and causing warnings

react-dom.development.js:12357 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

  • Move code with side effects to componentDidMount, and set initial state in the constructor.
  • R

Improve this page

Add a description, image, and links to the mapping topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mapping topic, visit your repo's landing page and select "manage topics."

Learn more