Brad Rydzewski
2867818679
removed github domain and url from schema.go for unit tests
2014-02-17 23:10:20 -07:00
Brad Rydzewski
a200c7a0a2
altered migration to set default github domain and url
2014-02-17 23:08:06 -07:00
Brad Rydzewski
cb042e1c1a
fixed compile error in migration script
2014-02-17 22:48:31 -07:00
Brad Rydzewski
bbb4bf48e0
Merge remote-tracking branch 'origin/master'
2014-02-17 22:42:01 -07:00
Brad Rydzewski
0e83e76ef4
removed unused migration sample file
2014-02-17 22:41:56 -07:00
Brad Rydzewski
85e60e4ee2
Merge pull request #75 from floatdrop/github-enterprise-support
...
GitHub Enterprise Support
2014-02-17 21:38:28 -08:00
Brad Rydzewski
7ce1e55ac3
Merge pull request #83 from fudanchii/migration
...
Migration system for sqlite
2014-02-17 20:46:13 -08:00
Vsevolod Strukchinsky
1505175288
Migration file based on #83
...
I choosed Rev3, because Rev2 will be about "open invitations" feature.
2014-02-16 11:57:16 +06:00
Vsevolod Strukchinsky
7208d95a76
Added GitHubApiUrl and GitHubDomain to settings and template
2014-02-16 11:45:14 +06:00
Brad Rydzewski
4b412d3a26
added code to prevent panic if /login is reached but no settings exist
...
minor styling. added success and fail message to top of /signup screen
modified open_registration to boolean value in database
2014-02-15 18:56:48 -07:00
Nurahmadie
4ef0f1b437
Integrate migrations with drone.
...
Also add migration to tests.
2014-02-16 03:47:30 +07:00
Nurahmadie
da8d4346ee
Add tests to migrate existing database without migration attributes.
2014-02-16 02:23:26 +07:00
Nurahmadie
8ce87f0d2c
More tests for alter columns migration
...
Also change the way we handle columns rename migration.
SQLite restrict column addition not to have PRIMARY KEY and/or
UNIQUE attribute, so we have to change from:
add new column -> migrate data from old column to new column ->
rename old table -> create new table with old columns removed ->
migrate data from old table to the new table -> drop old table
to directly:
rename old table -> create new table with renamed columns ->
migrate data from old table to the new table -> drop old table
2014-02-16 00:56:17 +07:00
Nurahmadie
4465b2654d
Fix migration step not checked against current version.
...
Add tests for DropColumns.
2014-02-15 22:17:22 +07:00
Nurahmadie
54a9544044
Integrate MigrationDriver to migrate.go
2014-02-15 20:16:54 +07:00
Nurahmadie
d2eed594ea
Migration Driver for SQLite
...
Need more tests.
2014-02-15 19:29:53 +07:00
Vsevolod Strukchinsky
6937b7b21e
Open invitation setting
...
Closes #64
2014-02-14 10:53:22 +06: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
8d135d7b22
package for database migrations
2014-02-10 03:03:22 -07:00
Brad Rydzewski
d5e5797934
initial public commit
2014-02-07 03:10:01 -07:00