mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 09:08:26 +01:00
Merge pull request #89 from reasonerjt/master
track schema version in db
This commit is contained in:
commit
b0bd7c4d1e
@ -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