Rename preconfigured beans to '.example.xml' so they don't overwrite configured sync...
[funambol-groupdav-connector.git] / src / sql / hypersonic / init_schema.sql
blob28b4c2c5ebffe45ce2dcfd05b3d0ee5135e226d5
1 delete from fnbl_sync_source_type where id='groupdavCal';
2 insert into fnbl_sync_source_type(id, description, class, admin_class)
3 values('groupdavCal', 'GroupDAV Calendar', 'net.bionicmessage.funambol.groupdav.calendar.CalendarSyncSource',
4 'net.bionicmessage.funambol.admin.MultipleCalendarSourceAdminPanel');
6 delete from fnbl_sync_source_type where id='groupdavContact';
7 insert into fnbl_sync_source_type(id, description, class, admin_class)
8 values('groupdavContact', 'GroupDAV Contacts', 'net.bionicmessage.funambol.groupdav.contacts.ContactSyncSource',
9 'net.bionicmessage.funambol.admin.MultipleContactSourceAdminPanel');
11 delete from fnbl_module where id='groupdav';
12 insert into fnbl_module (id, name, description)
13 values('groupdav','groupdav','GroupDAV');
15 delete from fnbl_connector where id='groupdav';
16 insert into fnbl_connector(id, name, description, admin_class)
17 values('groupdav','BionicMessageGroupDAVConnector','BionicMessage GroupDAV 2.0','');
19 delete from fnbl_connector_source_type where connector='groupdav' and sourcetype='groupdavCal';
20 insert into fnbl_connector_source_type(connector, sourcetype)
21 values('groupdav','groupdavCal');
23 delete from fnbl_connector_source_type where connector='groupdav' and sourcetype='groupdavContact';
24 insert into fnbl_connector_source_type(connector, sourcetype)
25 values('groupdav','groupdavContact');
27 delete from fnbl_module_connector where module='groupdav' and connector='groupdav';
28 insert into fnbl_module_connector(module, connector)
29 values('groupdav','groupdav');