root / conf / photovault_seed_data.xml

Revision 682:bf6195248d21, 1.3 kB (checked in by Harri Kaimio <harri@…>, 4 years ago)

Several improvements to database schema handling + first version of
conversion from old schema to new one.

  • Create database tables with Hibernate tools isntead of DDLutils.
    DDLutils are still used for test data import.
  • Added debug action to log history of a photo
  • Several other logging improvements
  • Rename all new schema tables to start with "pv_"
  • First version of schema conversion. Currently converts folder
    hierarchy and creates photos and images/image files based on
    old data. Raw covnersion, volume infor and file locations are
    still missing.
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  Copyright (c) 2006 Harri Kaimio
4 
5  This file is part of Photovault.
6
7  Photovault is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11
12  Photovault is distributed in the hope that it will be useful, but
13  WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  General Public License for more details.
16
17  You should have received a copy of the GNU General Public License
18  along with Foobar; if not, write to the Free Software Foundation,
19  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
20-->
21
22<!--
23    This file contains the seed data that is loaded to a newly
24    created database.
25   
26    Contents of this file is loaded using Apache DDLUtils.
27-->
28
29<data>
30    <!--
31    Root of the folder hierarchy must have ID 1
32    -->
33    <pv_folders folder_uuid="939db304-2dec-4a59-ae24-8e1a6b165105" 
34        collection_name="Top" collection_desc="Root folder"/>
35   
36    <!-- Hibernate sequence initialization -->
37    <unique_keys id_name="hibernate_seq" next_val="1"/>
38    <unique_keys id_name="folder_id_gen" next_val="10"/>
39</data>
Note: See TracBrowser for help on using the browser.