新增:TranslateUUID 工具用于离线服务器的玩家名与UUID的转换
调整:部分 SQL 工具继续画大饼。
This commit is contained in:
坏黑
2018-06-22 17:56:21 +08:00
parent 6b58848996
commit d219b3ad87
18 changed files with 526 additions and 122 deletions

View File

@@ -163,7 +163,7 @@ public class MetaModel implements Serializable {
}
/**
* @return name of the column for optimistic locking record version
* @return name of the addColumn for optimistic locking record version
*/
public String getVersionColumn() {
return versionColumn;
@@ -401,11 +401,11 @@ public class MetaModel implements Serializable {
}
/**
* FK name is a foreign key name used in relationships as a foreign key column in a child table (table represented by this
* FK name is a foreign key name used in relationships as a foreign key addColumn in a child table (table represented by this
* instance is a parent table).
* The FK name is derived using {@link org.javalite.common.Inflector}: It is a singular version of this table name plus "_id".
*
* @return foreign key name used in relationships as a foreign key column in a child table.
* @return foreign key name used in relationships as a foreign key addColumn in a child table.
*/
public String getFKName() {
return singularize(getTableName()).toLowerCase() + "_id";
@@ -469,10 +469,10 @@ public class MetaModel implements Serializable {
}
/**
* Provides column metadata map, keyed by attribute names.
* Provides addColumn metadata map, keyed by attribute names.
* Table columns correspond to ActiveJDBC model attributes.
*
* @return Provides column metadata map, keyed by attribute names.
* @return Provides addColumn metadata map, keyed by attribute names.
*/
public Map<String, ColumnMetadata> getColumnMetadata() {
if (columnMetadata == null || columnMetadata.isEmpty()) {