我有两张表:[INFO] Trying migrations at: /Users/XXXX/projects/decXXXX/src/migrations
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.643 s
[INFO] Finished at: 2017-11-07T17:19:24+01:00
[INFO] Final Memory: 10M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.javalite:db-migrator-maven-plugin:1.4.13:migrate (dev_migrations) on project decastore: Execution dev_migrations of goal org.javalite:db-migrator-maven-plugin:1.4.13:migrate failed: No migrations are found at: /Users/XXXX/projects/XXXXX/src/migrations -> [Help 1]
和Products
,有一对多的关系。用户可以对任何产品进行投票和投票,并为每一位用户添加ProductsRank
表,其中包含真值或假值。
在搜索栏中,当用户输入产品名称时,我想获得排名最高的产品列表。
ProductsRank
我所能做的一切,我知道这是完全错误的。我怎么能这样做?