diff --git a/cmd/drone-server/static/styles/drone.css b/cmd/drone-server/static/styles/drone.css index c0829b85..c8330873 100644 --- a/cmd/drone-server/static/styles/drone.css +++ b/cmd/drone-server/static/styles/drone.css @@ -1622,7 +1622,7 @@ input:checked + .switch:active::before { } .row-env { - padding: 30px 0px; + padding: 15px 0px; border-bottom: 1px solid #EEE; position:relative; color: #757575; @@ -1687,7 +1687,7 @@ input:checked + .switch:active::before { .row-env .btn-remove { position: absolute; right: 0px; - top: 25px; + top: 12px; } .row-user .btn-remove { position: absolute; diff --git a/pkg/store/builtin/migrate/migrate.go b/pkg/store/builtin/migrate/migrate.go index 417f9f62..f13c428d 100644 --- a/pkg/store/builtin/migrate/migrate.go +++ b/pkg/store/builtin/migrate/migrate.go @@ -48,7 +48,6 @@ CREATE TABLE IF NOT EXISTS users ( ,user_active BOOLEAN ,user_created INTEGER ,user_updated INTEGER - ,UNIQUE(user_token) ,UNIQUE(user_login) ); `