homescreenapp/hsapplication/conf/base/implml/homescreendb_templates/create.sql
changeset 62 341166945d65
parent 55 03646e8da489
--- a/homescreenapp/hsapplication/conf/base/implml/homescreendb_templates/create.sql	Thu Jun 24 13:11:40 2010 +0100
+++ b/homescreenapp/hsapplication/conf/base/implml/homescreendb_templates/create.sql	Fri Jun 25 19:19:22 2010 +0300
@@ -1,8 +1,6 @@
 DROP TABLE IF EXISTS Scene;
 CREATE TABLE Scene (
-  id INTEGER PRIMARY KEY,
-  portraitWallpaper TEXT,
-  landscapeWallpaper TEXT);
+  id INTEGER PRIMARY KEY);
 
 DROP TABLE IF EXISTS Pages;
 CREATE TABLE Pages (
@@ -33,50 +31,9 @@
   UNIQUE(widgetId, key) ON CONFLICT REPLACE,
   FOREIGN KEY(widgetId) REFERENCES Widgets(id) ON DELETE CASCADE);
 
-DROP TABLE IF EXISTS SnapConfiguration;
-CREATE TABLE SnapConfiguration (
-	snappingEnabled INTEGER,
-	showEffects INTEGER,
-	snapForce REAL,
-	snapGap REAL,
-	borderGap REAL,
-	timeout INTEGER);
-	
-DROP TABLE IF EXISTS FeedbackConfiguration;
-CREATE TABLE FeedbackConfiguration (
-  pageChangeFeedbackType TEXT,
-  widgetPickFeedbackType TEXT, 
-  widgetDropFeedbackType TEXT,
-  widgetRepositionFeedbackType TEXT,
-  widgetOverTrashbinFeedbackType TEXT,
-  widgetDropToTrashbinFeedbackType TEXT,
-  shortcutWidgetTapFeedbackType TEXT,
-  widgetMoveBlockedFeedbackType TEXT,
-  clockWidgetTapFeedbackType TEXT,
-  widgetSnappingFeedbackType TEXT);
-
-DROP TABLE IF EXISTS GeneralConfiguration;
-CREATE TABLE GeneralConfiguration (
-  bounceEffect INTEGER, 
-  tapAndHoldDistance REAL, 
-  widgetTapAndHoldTimeout INTEGER,
-  sceneTapAndHoldTimeout INTEGER,  
-  pageChangeZoneWidth REAL,
-  pageIndicatorSpacing REAL,
-  pageChangeAnimationDuration INTEGER,
-  pageChangeZoneAnimationDuration INTEGER,
-  pageChangeZoneReverseAnimationDuration INTEGER,
-  pageRemovedAnimationDuration INTEGER, 
-  newPageAddedAnimationDuration INTEGER, 
-  widgetDragEffectDuration INTEGER, 
-  widgetDropEffectDuration INTEGER,
-  boundaryFeedbackEffectDistance INTEGER,
-  defaultPageId INTEGER,
-  maximumPageCount INTEGER,
-  maximumWidgetHeight REAL,
-  maximumWidgetWidth REAL,
-  minimumWidgetHeight REAL,
-  minimumWidgetWidth REAL,
-  shortcutLabelsVisible INTEGER,
-  pageChangePanDistance REAL);
- 
\ No newline at end of file
+DROP TABLE IF EXISTS Configuration;
+CREATE TABLE Configuration (
+	key TEXT,
+	value TEXT,
+	UNIQUE(key) ON CONFLICT REPLACE);
+	
\ No newline at end of file