亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? update_from_1.1_to_1.2.sql

?? tinypm敏捷開發工具是一界面簡單功能齊全的敏捷開發工具 適合初學者使用
?? SQL
字號:
ALTER TABLE `tpm_user_stories` ADD COLUMN `acceptingUserId` INTEGER AFTER `name`;
ALTER TABLE `tpm_user_stories` ADD COLUMN `acceptanceStatus` INTEGER AFTER `name`;
ALTER TABLE `tpm_user_stories` ADD COLUMN `ownerId` INTEGER;

alter table tpm_user_stories 
    add index FK1EC53FEDAA149CCB (acceptingUserId), 
    add constraint FK1EC53FEDAA149CCB 
    foreign key (acceptingUserId) 
    references tpm_users (id);

alter table tpm_user_stories 
    add index FK1EC53FED61976F59 (ownerId), 
    add constraint FK1EC53FED61976F59 
    foreign key (ownerId) 
    references tpm_users (id);


-- add active status to projects
alter table tpm_projects add column active bit not null default 1;

-- make project owner a accepting user by default
update tpm_user_stories us, tpm_projects p 
	set us.acceptingUserId = p.ownerId 
	where us.acceptingUserId is null and p.id = us.projectId;

-- create versioninig tables
create table tpm_comments_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    authorId integer,
    authorName varchar(255),
    body text,
    date datetime,
    primary key (id, revision)
) type=InnoDB;

create table tpm_iterations_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    duration integer,
    name varchar(128),
    position integer,
    startDate date,
    projectId integer,
    primary key (id, revision)
) type=InnoDB;

create table tpm_priorities_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    name varchar(32),
    priority integer,
    primary key (id, revision)
) type=InnoDB;

create table tpm_project_comments_versions (
    projectId integer not null,
    commentId integer not null,
    revision integer not null,
    revisionType tinyint,
    primary key (projectId, commentId, revision)
) type=InnoDB;

create table tpm_project_users_versions (
    projectId integer not null,
    userId integer not null,
    revision integer not null,
    revisionType tinyint,
    primary key (projectId, userId, revision)
) type=InnoDB;

 create table tpm_projects_versions (
        id integer not null,
        revision integer not null,
        revisionType tinyint,
        active bit,
        createdAt datetime,
        createdBy varchar(255),
        lastModifiedAt datetime,
        lastModifiedBy varchar(255),
        code varchar(16),
        defaultTask varchar(255),
        description text,
        iterationLength integer,
        name varchar(64),
        startDate date,
        targetFinishDate date,
        ownerId integer,
        primary key (id, revision)
    ) type=InnoDB;

create table tpm_revisions (
    id integer not null auto_increment,
    timestamp bigint not null,
    userId integer,
    userName varchar(64),
    historyEventId integer,
    primary key (id)
) type=InnoDB;

create table tpm_roles_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    name varchar(64),
    primary key (id, revision)
) type=InnoDB;

create table tpm_tags_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    value varchar(255),
    primary key (id, revision)
) type=InnoDB;

create table tpm_task_assigned_users_versions (
    taskId integer not null,
    assignedUsersId integer not null,
    revision integer not null,
    revisionType tinyint,
    primary key (taskId, assignedUsersId, revision)
) type=InnoDB;

create table tpm_task_comments_versions (
    taskId integer not null,
    commentId integer not null,
    revision integer not null,
    revisionType tinyint,
    primary key (taskId, commentId, revision)
) type=InnoDB;

create table tpm_tasks_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    createdAt datetime,
    createdBy varchar(255),
    lastModifiedAt datetime,
    lastModifiedBy varchar(255),
    completedAt date,
    description text,
    name varchar(128),
    startedAt date,
    status integer,
    userStoryId integer,
    primary key (id, revision)
) type=InnoDB;

create table tpm_user_stories_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    acceptanceStatus integer,
    createdAt datetime,
    createdBy varchar(255),
    lastModifiedAt datetime,
    lastModifiedBy varchar(255),
    color varchar(255),
    description text,
    estimatedEffort double precision,
    name varchar(128),
    acceptingUserId integer,
    iterationId integer,
    ownerId integer,
    priorityId integer,
    projectId integer,
    primary key (id, revision)
) type=InnoDB;

create table tpm_user_story_tags_versions (
    userStoryId integer not null,
    tagId integer not null,
    revision integer not null,
    revisionType tinyint,
    primary key (userStoryId, tagId, revision)
) type=InnoDB;

create table tpm_users_versions (
    id integer not null,
    revision integer not null,
    revisionType tinyint,
    active bit,
    email varchar(255),
    login varchar(32),
    name varchar(64),
    password varchar(32),
    roleId integer,
    primary key (id, revision)
) type=InnoDB;

create table tpm_userstory_comments_versions (
    userStoryId integer not null,
    comment integer not null,
    revision integer not null,
    revisionType tinyint,
    primary key (userStoryId, comment, revision)
) type=InnoDB;

alter table tpm_comments_versions 
    add index FK294FD538BA619436 (revision), 
    add constraint FK294FD538BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_iterations_versions 
    add index FK52DD6BB6BA619436 (revision), 
    add constraint FK52DD6BB6BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_priorities_versions 
    add index FK1FCBB52ABA619436 (revision), 
    add constraint FK1FCBB52ABA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_project_comments_versions 
    add index FK604F0392BA619436 (revision), 
    add constraint FK604F0392BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_project_users_versions 
    add index FKDF00E766BA619436 (revision), 
    add constraint FKDF00E766BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_projects_versions 
    add index FKA0211172BA619436 (revision), 
    add constraint FKA0211172BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_revisions 
    add index FK9BDAA6AA256B0D07 (historyEventId), 
    add constraint FK9BDAA6AA256B0D07 
    foreign key (historyEventId) 
    references tpm_history_events (id);

alter table tpm_roles_versions 
    add index FK8C4E26BBA619436 (revision), 
    add constraint FK8C4E26BBA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_tags_versions 
    add index FK8247C1B3BA619436 (revision), 
    add constraint FK8247C1B3BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_task_assigned_users_versions 
    add index FK9F885CD7BA619436 (revision), 
    add constraint FK9F885CD7BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_task_comments_versions 
    add index FKCACBFADABA619436 (revision), 
    add constraint FKCACBFADABA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_tasks_versions 
    add index FK748DD0BABA619436 (revision), 
    add constraint FK748DD0BABA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_user_stories_versions 
    add index FK78C30AADBA619436 (revision), 
    add constraint FK78C30AADBA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_user_story_tags_versions 
    add index FK8C97CAD1BA619436 (revision), 
    add constraint FK8C97CAD1BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_users_versions 
    add index FKC22BE780BA619436 (revision), 
    add constraint FKC22BE780BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

alter table tpm_userstory_comments_versions 
    add index FKC67C8DC3BA619436 (revision), 
    add constraint FKC67C8DC3BA619436 
    foreign key (revision) 
    references tpm_revisions (id);

insert into `tpm_revisions`(id, timestamp, userId, userName) 
select 1, UNIX_TIMESTAMP() * 1000, min(id), '' from tpm_users;

-- comments
insert into `tpm_comments_versions` (id, revision, revisionType, authorId, authorName, body, `date`)
select id, 1, 0, authorId, authorName, body, `date` from tpm_comments;

-- iterations
insert into `tpm_iterations_versions` (id, revision, revisionType, duration, name, position, startDate, projectId)
select id, 1, 0, duration, name, position, startDate, projectId from tpm_iterations;

-- priorities
insert into `tpm_priorities_versions` (id, revision, revisionType, name, priority)
select id, 1, 0, name, priority from tpm_priorities;

-- project comments
insert into `tpm_project_comments_versions` (projectId, commentId, revision, revisionType)
select projectId, commentId, 1, 0 from tpm_project_comments;

-- project users
insert into `tpm_project_users_versions` (projectId, userId, revision, revisionType)
select projectId, userId, 1, 0 from tpm_project_users;

-- projects
insert into `tpm_projects_versions` (id, revision, active, revisionType, createdAt, createdBy, lastModifiedAt, lastModifiedBy, code, defaultTask, description, iterationLength, name, startDate, targetFinishDate, ownerId)
select id, 1, active, 0, createdAt, createdBy, lastModifiedAt, lastModifiedBy, code, defaultTask, description, iterationLength, name, startDate, targetFinishDate, ownerId from tpm_projects;

-- roles 		
insert into `tpm_roles_versions` (id, revision, revisionType, name)
select id, 1, 0, name from tpm_roles;

-- task assigned users
insert into `tpm_task_assigned_users_versions` (taskId, assignedUsersId, revision, revisionType)
select taskId, assignedUsersId, 1, 0 from tpm_task_assigned_users;

-- task comments 
insert into `tpm_task_comments_versions` (taskId, commentId, revision, revisionType)
select taskId, commentId, 1, 0 from tpm_task_comments;

-- tasks
insert into `tpm_tasks_versions` (id, revision, revisionType, createdAt, createdBy, lastModifiedAt, lastModifiedBy, completedAt, description, name, startedAt, status, userStoryId)
select id, 1, 0, createdAt, createdBy, lastModifiedAt, lastModifiedBy, completedAt, description, name, startedAt, status, userStoryId from tpm_tasks;

-- user stories
insert into `tpm_user_stories_versions` (id, revision, revisionType, createdAt, createdBy, lastModifiedAt, lastModifiedBy, color, description, estimatedEffort, name, iterationId, priorityId, projectId, acceptingUserId, acceptanceStatus, ownerId)
select id, 1, 0, createdAt, createdBy, lastModifiedAt, lastModifiedBy, color, description, estimatedEffort, name, iterationId, priorityId, projectId, acceptingUserId, acceptanceStatus, ownerId from tpm_user_stories;

-- user story tags
insert into `tpm_user_story_tags_versions` (userStoryId, tagId, revision, revisionType)
select userStoryId, tagId, 1, 0 from tpm_user_story_tags;

-- users
insert into `tpm_users_versions` (id, revision, revisionType, active, email, login, name, password, roleId)
select id, 1, 0, active, email, login, name, password, roleId from tpm_users;

-- userstory comments
insert into `tpm_userstory_comments_versions` (userStoryId, comment, revision, revisionType)
select userStoryId, comment, 1, 0 from tpm_userstory_comments;

create table tpm_logo (
    id integer not null auto_increment,
    image mediumblob,
    primary key (id)
) type=InnoDB;

insert into `tpm_features` (code, `position`) values
('userStoryManager.acceptance',6);

insert into `tpm_privilege_group_features` (privilegeGroupCode, featureCode) values
('USER_STORIES','userStoryManager.acceptance');


-- beta 2
insert into `tpm_features` (code, `position`) values
('backlogResource.exportData',6);

insert into `tpm_privilege_group_features` (privilegeGroupCode, featureCode) values
('USER_STORIES','backlogResource.exportData');

insert into `tpm_role_features` (roleId, featureCode) select rf.roleId, 'backlogResource.exportData' from `tpm_role_features` rf where rf.featureCode = 'userStoryManager.list';

update `tpm_features` set `position` = 7 where code = 'userStoryManager.acceptance';

alter table `tpm_user_stories` modify column `acceptanceStatus` varchar(255);
alter table `tpm_user_stories_versions` modify column `acceptanceStatus` varchar(255);

update `tpm_user_stories` set `acceptanceStatus` = 'ACCEPTED' where `acceptanceStatus` = '0';
update `tpm_user_stories` set `acceptanceStatus` = 'REJECTED' where `acceptanceStatus` = '1';
update `tpm_user_stories` set `acceptanceStatus` = 'PENDING' where `acceptanceStatus` IS NULL;

update `tpm_user_stories_versions` set `acceptanceStatus` = 'ACCEPTED' where `acceptanceStatus` = '0';
update `tpm_user_stories_versions` set `acceptanceStatus` = 'REJECTED' where `acceptanceStatus` = '1';
update `tpm_user_stories_versions` set `acceptanceStatus` = 'PENDING' where `acceptanceStatus` IS NULL;

alter table `tpm_tasks` modify column `completedAt` datetime;
alter table `tpm_tasks` modify column `startedAt` datetime;

alter table `tpm_tasks_versions` modify column `completedAt` datetime;
alter table `tpm_tasks_versions` modify column `startedAt` datetime;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜精品免费在线| 欧美色区777第一页| 亚洲成人久久影院| 一区二区三区四区蜜桃| 亚洲欧美日韩国产手机在线| 国产精品无圣光一区二区| 久久久不卡网国产精品二区| 久久久www成人免费无遮挡大片| 久久久综合视频| 国产欧美一区在线| 一区视频在线播放| 亚洲黄色小视频| 亚洲va韩国va欧美va精品| 午夜电影一区二区三区| 久久久亚洲精品石原莉奈| 亚洲成人精品在线观看| 性做久久久久久| 图片区小说区区亚洲影院| 日韩av在线发布| 免费在线观看一区| 高清不卡在线观看| 99麻豆久久久国产精品免费优播| 色综合av在线| 日韩欧美卡一卡二| 国产精品青草久久| 亚洲va韩国va欧美va| 久久精品72免费观看| 风间由美一区二区av101| 在线免费视频一区二区| 欧美成人高清电影在线| 国产精品视频九色porn| 亚洲一区二区三区在线播放| 美女视频网站黄色亚洲| 成人性生交大合| 欧美男同性恋视频网站| 国产日本欧美一区二区| 午夜a成v人精品| 成人一级片在线观看| 欧美日韩国产三级| 中文字幕一区二区视频| 免费高清不卡av| 日本高清不卡aⅴ免费网站| 精品剧情v国产在线观看在线| 中文字幕综合网| 国产精品综合在线视频| 久久久精品中文字幕麻豆发布| 国产精品1024| 日本久久电影网| 欧美大片一区二区三区| 亚洲色图制服丝袜| 极品少妇xxxx精品少妇| 欧美在线免费播放| 亚洲国产激情av| 久久精品国产99| 欧美精品在线观看播放| 日韩久久一区二区| 成人免费毛片嘿嘿连载视频| 日韩精品中文字幕一区二区三区 | 成人app网站| 欧美一级一区二区| 亚洲综合激情网| 波多野结衣精品在线| 久久久久久久综合狠狠综合| 亚洲精品视频一区| 国产午夜精品久久| 亚洲午夜在线电影| 成人99免费视频| 国产午夜精品在线观看| 蜜臀av亚洲一区中文字幕| 欧美综合欧美视频| 日韩美女视频19| 99久久国产综合精品女不卡| 国产色一区二区| 成人网在线播放| 国产精品网站导航| 成人手机在线视频| 国产精品成人在线观看| 成人动漫视频在线| 亚洲欧美综合另类在线卡通| 成人av在线播放网址| 国产精品免费视频网站| 国产91精品久久久久久久网曝门| 精品免费一区二区三区| 91精品国产91久久久久久一区二区 | 亚洲大尺度视频在线观看| 在线中文字幕一区| 亚洲国产三级在线| 欧美美女一区二区三区| 日韩精品色哟哟| 日韩一二三区视频| 国产一区免费电影| 国产精品精品国产色婷婷| 97se亚洲国产综合自在线| 一级日本不卡的影视| 欧美美女bb生活片| 精品一区二区三区在线观看国产| 国产亚洲美州欧州综合国| 极品销魂美女一区二区三区| 91福利精品视频| 三级一区在线视频先锋 | 国产日本欧美一区二区| 丁香婷婷综合激情五月色| 亚洲免费高清视频在线| 91超碰这里只有精品国产| 国产乱码精品一区二区三| 亚洲品质自拍视频| 欧美一区二区三区四区视频| 国产盗摄一区二区| 亚洲国产人成综合网站| 精品对白一区国产伦| 色哟哟国产精品| 国内精品国产三级国产a久久| 自拍av一区二区三区| 欧美一级电影网站| 色综合欧美在线| 男女男精品视频| 91精品麻豆日日躁夜夜躁| 久久er99热精品一区二区| 日韩理论电影院| 日韩女优视频免费观看| 色综合久久99| 国产 欧美在线| 青娱乐精品视频在线| 亚洲欧美日韩在线| 久久免费看少妇高潮| 欧美蜜桃一区二区三区| 成人开心网精品视频| 久久99精品国产.久久久久| 一级做a爱片久久| 中文字幕精品一区二区精品绿巨人| 欧美精品一级二级三级| 一本色道a无线码一区v| 日韩欧美在线123| 91在线观看免费视频| 国产精品一区二区无线| 免费看日韩精品| 亚洲国产aⅴ天堂久久| 中文字幕高清一区| 精品国产精品一区二区夜夜嗨| 欧美精品v国产精品v日韩精品 | 国产69精品久久久久777| 麻豆精品久久精品色综合| 亚洲午夜成aⅴ人片| 久久精品国产免费| 午夜欧美在线一二页| 一区二区免费在线播放| 亚洲日本电影在线| 一色屋精品亚洲香蕉网站| 国产女人18水真多18精品一级做| 欧美电视剧在线观看完整版| 3d动漫精品啪啪一区二区竹菊 | 日韩精品一区二| 91精品黄色片免费大全| 777奇米成人网| 日韩精品一区二区三区蜜臀| 精品日韩av一区二区| 久久亚洲影视婷婷| 国产无遮挡一区二区三区毛片日本| 欧美大度的电影原声| 欧美成人aa大片| 久久综合999| 国产精品卡一卡二卡三| 国产精品传媒在线| 一区二区三区欧美亚洲| 午夜伊人狠狠久久| 奇米777欧美一区二区| 精品中文av资源站在线观看| 国产伦理精品不卡| 成人精品gif动图一区| 色综合久久六月婷婷中文字幕| 色国产综合视频| 日韩一区二区电影在线| 久久久噜噜噜久噜久久综合| 国产精品传媒在线| 亚洲午夜在线电影| 国内外成人在线视频| eeuss鲁片一区二区三区| 欧美伊人精品成人久久综合97| 91精品婷婷国产综合久久性色| 久久久综合九色合综国产精品| 国产精品久久久久影视| 亚洲成av人影院| 国产成人免费视频网站 | 欧美精品一区二区三区四区| 亚洲国产成人私人影院tom| 亚洲精品欧美在线| 成人午夜激情视频| 色婷婷久久综合| 91精品国产乱码久久蜜臀| 久久九九国产精品| 亚洲成人黄色小说| 国产精品伊人色| 欧美在线|欧美| 久久精品男人的天堂| 亚洲高清久久久| 成人白浆超碰人人人人| 91精品国产色综合久久ai换脸| 亚洲欧美在线观看| 狠狠色综合日日| 91麻豆精品国产91久久久使用方法|