mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-19 07:07:42 +01:00
f8b964d8cf
Signed-off-by: wang yan <wangyan@vmware.com>
3.0 KiB
3.0 KiB
What's New in Harbor Database Schema
Changelog for harbor database schema
0.1.0
0.1.1
- create table
project_member
- create table
schema_version
- drop table
user_project_role
- drop table
project_role
- add column
creation_time
to tableuser
- add column
sysadmin_flag
to tableuser
- add column
update_time
to tableuser
- add column
role_mask
to tablerole
- add column
update_time
to tableproject
- delete data
AMDRWS
from tablerole
- delete data
A
from tableaccess
0.3.0
- create table
replication_policy
- create table
replication_target
- create table
replication_job
- add column
repo_tag
to tableaccess_log
- alter column
repo_name
on tableaccess_log
- alter column
email
on tableuser
0.4.0
- add index
pid_optime (project_id, op_time)
on tableaccess_log
- add index
poid_uptime (policy_id, update_time)
on tablereplication_job
- add column
deleted
to tablereplication_policy
- alter column
username
on tableuser
: varchar(15)->varchar(32) - alter column
password
on tablereplication_target
: varchar(40)->varchar(128) - alter column
email
on tableuser
: varchar(128)->varchar(255) - alter column
name
on tableproject
: varchar(30)->varchar(41) - create table
repository
- alter column
password
on tablereplication_target
: varchar(40)->varchar(128)
1.2.0
- delete column
owner_id
from tablerepository
- delete column
user_id
from tableaccess_log
- delete foreign key (user_id) references user(user_id)from table
access_log
- delete foreign key (project_id) references project(project_id)from table
access_log
- add column
username
varchar (32) to tableaccess_log
- alter column
realname
on tableuser
: varchar(20)->varchar(255) - create table
img_scan_job
- create table
img_scan_overview
- create table
clair_vuln_timestamp
1.3.0
- create table
project_metadata
- insert data into table
project_metadata
- delete column
public
from tableproject
- add column
insecure
to tablereplication_target
1.4.0
- add column
filters
to tablereplication_policy
- add column
replicate_deletion
to tablereplication_policy
- create table
replication_immediate_trigger
- add pk
id
to tableproperties
- remove pk index from column 'k' of table
properties
- alter
name
length from 41 to 256 of tableproject
1.5.0
- create table
harbor_label
- create table
harbor_resource_label
- create table
user_group
- modify table
project_member
useid
as PK and add columnentity_type
to indicate if the member is user or group. - add
job_uuid
column toreplication_job
andimg_scan_job
- add index
poid_status
in table replication_job - add index
idx_status
,idx_status
,idx_digest
,idx_repository_tag
in table img_scan_job
1.6.0
- add
deleted
column to tableharbor_label
1.7.0
- alter column
v
on tableproperties
: varchar(128)->varchar(1024)