Commit graph

14 commits

Author SHA1 Message Date
Nurahmadie
113f4917ff Increase fixtures number assertion for user test 2014-05-07 00:59:21 +07:00
Nurahmadie
27c770e097 Fix RepoHandler 2014-04-29 19:48:45 +07:00
Nurahmadie
aac0a8830f Merge branch 'mgt' into mt 2014-04-10 17:02:41 +00:00
Nurahmadie
1736716baa Migration tests for mysql
invoke:
    export DB_ENV=mysql
    export MYSQL_LOGIN='root:psswd@/'
    go test -v github.com/drone/drone/pkg/database/migrate/testing
2014-04-10 16:59:06 +00:00
Alex Suraci
10c3c8108e Revert "Revert "query and show commits by branch""
This reverts commit 7d52a4c4df.
2014-04-06 13:54:09 -07:00
Nurahmadie
b9111a3f44 Add test for mysql 2014-04-06 15:04:36 +00:00
Nurahmadie
43c0a54718 Initial Gitlab Support 2014-03-29 06:37:50 +00:00
Brad Rydzewski
fe1f2666f3 Merge pull request #171 from fudanchii/migration
[RFC] database refactorization
2014-03-25 12:45:30 -07:00
Nurahmadie
571f7d02b0 Fix some column type to work with both mysql and sqlite.
Basically this is caused by sqlite actually doesn't have any
column type restriction. also save gob type column as blob to enforce
byte-string value, since varchar with utf8 collation type will take at
least 3 byte to store, this will break YAML-Gob decoding at `params`
column.

Also fix some typo, and clean up fixtures code.
2014-03-15 18:20:11 +07:00
Brad Rydzewski
d70a6bb5f7 adding github testing 2014-03-11 23:00:06 -07:00
Nurahmadie
92dfcbfca9 Move database schema to migration script. 2014-03-10 20:28:04 +07:00
Nurahmadie
4ef0f1b437 Integrate migrations with drone.
Also add migration to tests.
2014-02-16 03:47:30 +07:00
Brad Rydzewski
088c45941c partial fix to issue #50 and issue #37 to select token from database 2014-02-11 16:05:53 -07:00
Brad Rydzewski
d5e5797934 initial public commit 2014-02-07 03:10:01 -07:00