Commit graph

79 commits

Author SHA1 Message Date
Matthew Dillon
0e767390b5 create an observation type 2014-11-04 16:13:55 -09:00
Matthew Dillon
4fd7bf8eba Get an observation type 2014-11-03 16:12:50 -09:00
Matthew Dillon
bedddfdec1 Setting created & update cols. 2014-11-02 20:48:10 -09:00
Matthew Dillon
f48ee87ccd NullTime in normalizeTime & tests 2014-10-31 09:38:49 -08:00
Matthew Dillon
58344b82a5 Importing data, realized need to handle NULLs. 2014-10-30 16:24:15 -08:00
Matthew Dillon
df95dfc930 Delete strain. 2014-10-29 14:11:50 -08:00
Matthew Dillon
ff0e37d2ef Update strain. Fixed EML/EMBL typo in json. 2014-10-29 13:39:31 -08:00
Matthew Dillon
b8bda910cd List strains. 2014-10-29 13:23:25 -08:00
Matthew Dillon
6bba9058aa Create a strain. 2014-10-29 13:09:54 -08:00
Matthew Dillon
6c118f47f7 Get a strain. 2014-10-28 16:14:14 -08:00
Matthew Dillon
cb383d84e7 #7: datastore convenience functions. 2014-10-24 15:11:08 -08:00
Matthew Dillon
4669aff3c2 Species - delete 2014-10-24 10:42:31 -08:00
Matthew Dillon
22d2b8b41d Finishing up changes from previous commit 2014-10-24 10:08:12 -08:00
Matthew Dillon
c8d1d0a84f species update wip 2014-10-23 18:25:15 -08:00
Matthew Dillon
5244ae529a Species: List species. 2014-10-23 17:29:07 -08:00
Matthew Dillon
b045ded9cd Importing base schema 2014-10-23 16:14:34 -08:00
Matthew Dillon
7e74d672ba Using struct attrs to match desired db schema 2014-10-16 09:22:27 -08:00
Matthew Dillon
7fe5566edf Create species, cleanup schema.
- create species
- species genus_id not null
2014-10-15 16:43:09 -08:00
Matthew Dillon
830a8805c9 Species Read - Order of ops:
router/routes.go
router/api.go
models/species_test.go
models/species.go
models/client.go
datastore/migrations/addspecies.sql
datastore/migrations/dropspecies.sql
datastore/species_test.go
datastore/species.go
datastore/datastore.go
api/species_test.go
api/species.go
api/handler.go
2014-10-15 13:01:11 -08:00
Matthew Dillon
279651930e A few big changes
- Adding timezone to source config
- genera: update record (missed a few pieces)
- genera: delete record
2014-10-13 15:26:35 -08:00
Matthew Dillon
33194ffd2f Genera: update record. 2014-10-13 12:22:50 -08:00
Matthew Dillon
59a0cfd4bf Genera: api. 2014-10-13 10:15:33 -08:00
Matthew Dillon
533adbdd09 Genera: datastore. 2014-10-13 09:55:20 -08:00
Matthew Dillon
08ae818d74 Fixes #2: Don’t log error if db is new. 2014-10-07 20:48:20 -08:00
Matthew Dillon
8fa594e3f0 DB Migrations
Replacing modl’s built-in table creation and removal
with manual migrations. Thanks to @DavidHuie for
gomigrate!
2014-10-06 17:09:41 -08:00
Matthew Dillon
f0cd2c1d79 Turning on modl database trace. 2014-10-03 15:52:49 -08:00
Matthew Dillon
c0b54d821e User creation, DB transactions, createdb flag changes. 2014-10-01 13:09:36 -08:00
Matthew Dillon
e1685bd32b API endpoints. 2014-09-30 16:03:16 -08:00
Matthew Dillon
1e283e7cd6 Working in PG datastore. 2014-09-30 15:13:36 -08:00