generator-jhipster-snowflake
v0.0.4
Published
JHipster module to enable entity snowflake and snowflake log page
Downloads
12
Maintainers
Readme
Usage
Generate the code related to snowflake ID and convert the type of ID from Long to String.
生成与雪花 ID 相关的代码,并将 ID 的类型从 Long 转换为 String。
Installation
As this is a JHipster module, we expect you have JHipster and its related tools already installed.
This module requires Jhipster version greater than 3.0 in order to work
npm install -g generator-jhipster-snowflake
Then run the module on a JHipster generated application:
yo jhipster-snowflake
If you want don't want to answer each question you can use
yo jhipster-snowflake default
This will enable snowflakeing for all available entities (only ones created by the jhipster:entity generator) and add the snowflake log page under admin
License
MIT © snowfox