fix: rm unique constraint on librepages_sites.repo_url
DESCRIPTION A repository might have several deployments. So unique repo_urls don't make any sense.
This commit is contained in:
parent
8aa736da27
commit
7fb29e0d7a
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
CREATE TABLE IF NOT EXISTS librepages_sites (
|
CREATE TABLE IF NOT EXISTS librepages_sites (
|
||||||
site_secret VARCHAR(32) NOT NULL UNIQUE,
|
site_secret VARCHAR(32) NOT NULL UNIQUE,
|
||||||
repo_url VARCHAR(3000) NOT NULL UNIQUE,
|
repo_url VARCHAR(3000) NOT NULL,
|
||||||
branch TEXT NOT NULL,
|
branch TEXT NOT NULL,
|
||||||
hostname VARCHAR(3000) NOT NULL UNIQUE,
|
hostname VARCHAR(3000) NOT NULL UNIQUE,
|
||||||
ID SERIAL PRIMARY KEY NOT NULL,
|
ID SERIAL PRIMARY KEY NOT NULL,
|
||||||
|
|
Loading…
Reference in a new issue