我开始使用 Jhipster 。我在
中有现有的实体我手动创建的com.company.project_name.module_name.MyCastomEntity
。
我不想使用jhipster命令
yo jhipster:entity MyCustomEntity
如何在手动更改(实体创建/更新/删除)后使用现有实体更新ddl?
答案 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