|
|
@@ -1,3 +1,4 @@
|
|
|
+; default database config 默认数据库配置
|
|
|
[database]
|
|
|
driver = sqlite
|
|
|
file = ./admin.db
|
|
|
@@ -5,6 +6,11 @@ database = goadmin
|
|
|
; Here are new tables to generate. 新的待转换的表格
|
|
|
tables = new_table1,new_table2
|
|
|
|
|
|
+; specified connection database config 指定数据库配置
|
|
|
+; for example, database config which connection name is mydb.
|
|
|
+;[database.mydb]
|
|
|
+
|
|
|
+; table model config 数据模型设置
|
|
|
[model]
|
|
|
package = main
|
|
|
connection = default
|