mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 21:49:25 +00:00
5fe712cca6
* Refactor: move store/ to server/store/ * fix pipeline for moved tests Co-authored-by: 6543 <6543@obermui.de>
17 lines
339 B
SQL
17 lines
339 B
SQL
-- name: create-table-users
|
|
|
|
CREATE TABLE IF NOT EXISTS users (
|
|
user_id SERIAL PRIMARY KEY
|
|
,user_login VARCHAR(250)
|
|
,user_token VARCHAR(500)
|
|
,user_secret VARCHAR(500)
|
|
,user_expiry INTEGER
|
|
,user_email VARCHAR(500)
|
|
,user_avatar VARCHAR(500)
|
|
,user_active BOOLEAN
|
|
,user_admin BOOLEAN
|
|
,user_hash VARCHAR(500)
|
|
|
|
,UNIQUE(user_login)
|
|
);
|