从现有实体Jhipster更新ddl

时间:2017-01-15 00:21:16

标签: jhipster

我开始使用 Jhipster 。我在

中有现有的实体
  

com.company.project_name.module_name.MyCastomEntity

我手动创建的

我不想使用jhipster命令

yo jhipster:entity MyCustomEntity 

如何在手动更改(实体创建/更新/删除)后使用现有实体更新ddl?

1 个答案:

答案 0 :(得分:2)

14:05:26.453 [critical] Problem starting the module mod_conversation for host <<"localhost">> options: [] error: undef [{mod_conversation_undefined,init,[<<"localhost">>,[]],[]}, {mod_conversation,start,2,[{file,"src/mod_conversation.erl"},{line,30}]}, {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,154}]}, {lists,foreach,2,[{file,"lists.erl"},{line,1337}]}, {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,77}]}, {application_master,start_it_old,4, [{file,"application_master.erl"},{line,273}]}] 14:05:26.453 [critical] ejabberd initialization was aborted because a module start failed. Crash dump is being written to: //var/log/ejabberd/erl_crash_20170115-140523.dump...done Problem starting the module mod_conversation for host <<"localhost">> options: [] error: undef [{mod_conversation_undefined,init,[<<"localhost">>,[]],[]}, {mod_conversation,start,2,[{file,"src/mo 中配置数据库属性,并使用Mod = gen_mod:db_mod(Host, Opts, ?MODULE), Mod:init(Host, Opts)] 生成一个Liquibase迁移文件,该文件将存储在pom.xml目录中,并从./mvnw liquibase:diff

这在JHipster web site

中有记录