Commit graph

13 commits

Author SHA1 Message Date
smavros
535ae8a467 Corrected Name of visualization object in DummyDB 2019-04-19 13:49:21 +02:00
smavros
83cb2ea1db Wrapped associations around checkErr(). Fixed SimulationModel
association
2019-04-15 11:11:10 +02:00
smavros
a1af6ac52f Added comment 2019-04-14 21:03:34 +02:00
smavros
9df906bc15 Associations autoupdate OFF. Formated model structs. 2019-04-14 20:50:26 +02:00
smavros
57abe51d06 Added associations in test_db 2019-04-14 20:29:52 +02:00
smavros
a7179180ff Changes in database handling in package common:
- CreateDB() is now InitDB()
- Added Dummy*() functions for setting up a dummy database (named
testvillasdb) that will be used by the tests.
2019-04-12 14:14:23 +02:00
smavros
62de87ff72 DBinfo now provided by global params 2019-04-05 00:27:47 +02:00
smavros
ae0f729a55 Formating using Gofmt with local tab=4*stops 2019-04-05 00:22:08 +02:00
smavros
e58c2b2dae Added all the associations in models 2019-04-04 19:22:55 +02:00
Sonja Happ
91f52a409b move all data structs to one file to avoid circular dependencies; use all data structs in start.go for testing compilation; dependency updates 2019-04-03 14:54:55 +02:00
smavros
afe1a33893 Added go.mod for Modules and Packages:
- Backend uses start.go in root for entry
2019-04-02 15:03:18 +02:00
smavros
64aeda36bd Database runs a small CRUD example using gorm:
- Only Simulator model is used
- The postgres Array type is provided by lib/pq
- The default empty string is fixed
2019-03-31 19:19:38 +02:00
smavros
24a4eb1718 added folder for models and corresponding source files 2019-03-17 17:59:27 +01:00