mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-30 22:37:43 +02:00
add schema version to db
This commit is contained in:
parent
88303cf2a2
commit
8dd59b77e8
@ -101,3 +101,12 @@ create table access_log (
|
|||||||
FOREIGN KEY (user_id) REFERENCES user(user_id),
|
FOREIGN KEY (user_id) REFERENCES user(user_id),
|
||||||
FOREIGN KEY (project_id) REFERENCES project (project_id)
|
FOREIGN KEY (project_id) REFERENCES project (project_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
create table properties (
|
||||||
|
k varchar(64) NOT NULL,
|
||||||
|
v varchar(128) NOT NULL,
|
||||||
|
primary key (k)
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into properties (k, v) values
|
||||||
|
('schema_version', '0.1.1');
|
||||||
|
Loading…
Reference in New Issue
Block a user