1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-18 08:26:45 +02:00
woodpecker/pkg/database/migrate
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
..
1_setup_tables.go Fix some column type to work with both mysql and sqlite. 2014-03-15 18:20:11 +07:00
2_setup_indices.go Preliminary MySQL support. Barely tested. 2014-03-14 02:28:10 +07:00
201402200603_rename_privelege_to_privilege.go Actually use --driver option to set database driver for drone. 2014-03-08 12:19:28 +07:00
201402211147_github_enterprise_support.go Actually use --driver option to set database driver for drone. 2014-03-08 12:19:28 +07:00
20140310104446_add_open_invitation_column.go Add usage info at migration script generator. 2014-03-12 08:33:04 +07:00
all.go Move database schema to migration script. 2014-03-10 20:28:04 +07:00
api.go Preliminary MySQL support. Barely tested. 2014-03-14 02:28:10 +07:00
column_type.go Fix some column type to work with both mysql and sqlite. 2014-03-15 18:20:11 +07:00
migrate.go Preliminary MySQL support. Barely tested. 2014-03-14 02:28:10 +07:00
migration Add usage info at migration script generator. 2014-03-12 08:33:04 +07:00
mysql.go Preliminary MySQL support. Barely tested. 2014-03-14 02:28:10 +07:00
postgresql.go Preliminary MySQL support. Barely tested. 2014-03-14 02:28:10 +07:00
sqlite_test.go Refactor tests, add test for ChangeColumn method. 2014-03-12 07:04:34 +07:00
sqlite.go Preliminary MySQL support. Barely tested. 2014-03-14 02:28:10 +07:00
util.go Implement ChangeColumn, AddIndex, and DropIndex methods for Operation interface. 2014-03-10 07:11:15 +07:00