2016-05-17 08:01:38 +02:00
|
|
|
# What's New in Harbor Database Schema
|
|
|
|
Changelog for harbor database schema
|
|
|
|
|
|
|
|
## 0.1.0
|
|
|
|
|
|
|
|
## 0.1.1
|
2016-05-17 08:33:56 +02:00
|
|
|
|
2016-05-18 05:02:53 +02:00
|
|
|
- create table `project_member`
|
2016-05-18 05:00:32 +02:00
|
|
|
- create table `schema_version`
|
2016-05-18 05:02:53 +02:00
|
|
|
- drop table `user_project_role`
|
|
|
|
- drop table `project_role`
|
2016-05-17 08:33:56 +02:00
|
|
|
- add column `creation_time` to table `user`
|
|
|
|
- add column `sysadmin_flag` to table `user`
|
|
|
|
- add column `update_time` to table `user`
|
|
|
|
- add column `role_mask` to table `role`
|
|
|
|
- add column `update_time` to table `project`
|
2016-05-18 08:47:57 +02:00
|
|
|
- delete data `AMDRWS` from table `role`
|
2016-05-18 05:02:53 +02:00
|
|
|
- delete data `A` from table `access`
|
|
|
|
|
2016-08-11 08:02:53 +02:00
|
|
|
## 0.3.0
|
2016-06-22 06:22:02 +02:00
|
|
|
|
|
|
|
- create table `replication_policy`
|
|
|
|
- create table `replication_target`
|
|
|
|
- create table `replication_job`
|
|
|
|
- add column `repo_tag` to table `access_log`
|
|
|
|
- alter column `repo_name` on table `access_log`
|
|
|
|
- alter column `email` on table `user`
|
2016-08-11 08:02:53 +02:00
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
|
|
|
- add index `pid_optime (project_id, op_time)` on table `access_log`
|
|
|
|
- add index `poid_uptime (policy_id, update_time)` on table `replication_job`
|
|
|
|
- add column `deleted` to table `replication_policy`
|