-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.xml
More file actions
27 lines (23 loc) · 760 Bytes
/
Copy pathcommon.xml
File metadata and controls
27 lines (23 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<!-- this files holds common declaration for all domain objects -->
<dbtypemappings>
<map from="guid" to="varchar(36)" />
<map from="string" to="varchar(%d)" fieldsize="128"/>
<map from="time" to="datetime" />
</dbtypemappings>
<gotypemappings>
<map from="guid" to="uuid.UUID" />
<map from="time" to="time.Time" />
</gotypemappings>
<dbcontrol>
<host>localhost</host>
<dbname>nagini</dbname>
<user>gnilk</user>
<password>nagini</password>
</dbcontrol>
<imports>
<package no_persistence="true">uuid github.com/satori/go.uuid</package>
<package>time</package>
</imports>
</doc>