1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-18 08:26:45 +02:00
woodpecker/pkg
Nurahmadie 7cf4f2eb89 Preliminary MySQL support. Barely tested.
Requirements:
MySQL/MariaDB need to be configured with this settings:

  innodb_file_format = Barracuda
  innodb_file_per_table = On
  innodb_large_prefix = On

to support key prefix length up to 3042 bytes.

MySQL/MariaDB DSN will need this parameter:

  parseTime=true

as per [1]

The migration system itself mostly inspired by Rails (ActiveRecord),
but it still rough at the edges. Could use some inputs.

Next Todo: more testing!

[1]  https://github.com/go-sql-driver/mysql#parsetime
2014-03-14 02:28:10 +07:00
..
build Remove unreachable return. 2014-03-06 10:50:48 -08:00
channel initial public commit 2014-02-07 03:10:01 -07:00
database Preliminary MySQL support. Barely tested. 2014-03-14 02:28:10 +07:00
handler Format go code. 2014-03-06 10:45:21 -08:00
mail make smtp-auth optional 2014-02-16 22:36:01 +01:00
model Add identicon query param to GravatarPattern 2014-03-05 16:19:44 +06:00
plugin Format go code. 2014-03-06 10:45:21 -08:00
queue a bit of prep-work for adding caching 2014-03-02 22:35:01 -08:00
template Format go code. 2014-03-06 10:45:21 -08:00