VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/testmanager/db/tmdb-r20-testcases-1-testgroups-1-schedgroups-1.pgsql

Last change on this file was 106061, checked in by vboxsync, 8 weeks ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1-- $Id: tmdb-r20-testcases-1-testgroups-1-schedgroups-1.pgsql 106061 2024-09-16 14:03:52Z vboxsync $
2--- @file
3-- VBox Test Manager Database - Adds sComment to TestCases, TestGroups
4-- and SchedGroups.
5--
6
7--
8-- Copyright (C) 2013-2024 Oracle and/or its affiliates.
9--
10-- This file is part of VirtualBox base platform packages, as
11-- available from https://www.virtualbox.org.
12--
13-- This program is free software; you can redistribute it and/or
14-- modify it under the terms of the GNU General Public License
15-- as published by the Free Software Foundation, in version 3 of the
16-- License.
17--
18-- This program is distributed in the hope that it will be useful, but
19-- WITHOUT ANY WARRANTY; without even the implied warranty of
20-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21-- General Public License for more details.
22--
23-- You should have received a copy of the GNU General Public License
24-- along with this program; if not, see <https://www.gnu.org/licenses>.
25--
26-- The contents of this file may alternatively be used under the terms
27-- of the Common Development and Distribution License Version 1.0
28-- (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
29-- in the VirtualBox distribution, in which case the provisions of the
30-- CDDL are applicable instead of those of the GPL.
31--
32-- You may elect to license modified versions of this file under the
33-- terms and conditions of either the GPL or the CDDL or both.
34--
35-- SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
36--
37
38
39
40\set ON_ERROR_STOP 1
41\set AUTOCOMMIT 0
42
43LOCK TABLE TestBoxes IN ACCESS EXCLUSIVE MODE;
44LOCK TABLE TestBoxStatuses IN ACCESS EXCLUSIVE MODE;
45LOCK TABLE TestCases IN ACCESS EXCLUSIVE MODE;
46LOCK TABLE TestGroups IN ACCESS EXCLUSIVE MODE;
47LOCK TABLE SchedGroups IN ACCESS EXCLUSIVE MODE;
48
49--
50-- All the changes are rather simple and we'll just add the sComment column last.
51--
52\d TestCases;
53\d TestGroups;
54\d SchedGroups;
55
56ALTER TABLE TestCases ADD COLUMN sComment TEXT DEFAULT NULL;
57ALTER TABLE TestGroups ADD COLUMN sComment TEXT DEFAULT NULL;
58ALTER TABLE SchedGroups ADD COLUMN sComment TEXT DEFAULT NULL;
59
60\d TestCases;
61\d TestGroups;
62\d SchedGroups;
63
64\prompt "Update python files while everything is locked. Hurry!" dummy
65
66COMMIT;
67
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette