sqlite username column case insensitive

This commit is contained in:
Brad Rydzewski 2019-04-14 10:47:23 -07:00
parent 4ad4402675
commit 9b5d07f843
3 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- ping the docker daemon before starting the agent, by [@bradrydzewski](https://github.com/bradrydzewski). [#2495](https://github.com/drone/drone/issues/2495). - ping the docker daemon before starting the agent, by [@bradrydzewski](https://github.com/bradrydzewski). [#2495](https://github.com/drone/drone/issues/2495).
- support for Cron job name in Yaml trigger block, by [@bradrydzewski](https://github.com/bradrydzewski). [#2628](https://github.com/drone/drone/issues/2628). - support for Cron job name in Yaml trigger block, by [@bradrydzewski](https://github.com/bradrydzewski). [#2628](https://github.com/drone/drone/issues/2628).
- support for Cron job name in Yaml when block, by [@bradrydzewski](https://github.com/bradrydzewski). [#2628](https://github.com/drone/drone/issues/2628). - support for Cron job name in Yaml when block, by [@bradrydzewski](https://github.com/bradrydzewski). [#2628](https://github.com/drone/drone/issues/2628).
- sqlite username column changed to case-insensitive, by [@bradrydzewski](https://github.com/bradrydzewski).
## [1.0.1] - 2019-04-10 ## [1.0.1] - 2019-04-10
### Added ### Added

View file

@ -198,7 +198,7 @@ SELECT name FROM migrations
var createTableUsers = ` var createTableUsers = `
CREATE TABLE IF NOT EXISTS users ( CREATE TABLE IF NOT EXISTS users (
user_id INTEGER PRIMARY KEY AUTOINCREMENT user_id INTEGER PRIMARY KEY AUTOINCREMENT
,user_login TEXT ,user_login TEXT COLLATE NOCASE
,user_email TEXT ,user_email TEXT
,user_admin BOOLEAN ,user_admin BOOLEAN
,user_machine BOOLEAN ,user_machine BOOLEAN

View file

@ -2,7 +2,7 @@
CREATE TABLE IF NOT EXISTS users ( CREATE TABLE IF NOT EXISTS users (
user_id INTEGER PRIMARY KEY AUTOINCREMENT user_id INTEGER PRIMARY KEY AUTOINCREMENT
,user_login TEXT ,user_login TEXT COLLATE NOCASE
,user_email TEXT ,user_email TEXT
,user_admin BOOLEAN ,user_admin BOOLEAN
,user_machine BOOLEAN ,user_machine BOOLEAN