Permalink
Browse files

Updated some of SQL scripts

  • Loading branch information...
1 parent cd2223b commit 3191018eb2099cc928d616c9e93857e0b6dec519 @goshoo committed Feb 25, 2012
@@ -21,6 +21,19 @@ CREATE INDEX CMS_CONTENTS_04_IDX ON CMS_CONTENTS (PUBLISH_TAG_TO);
CREATE INDEX CMS_CONTENTS_05_IDX ON CMS_CONTENTS (RESOURCE_ID, ONLINE_FLAG);
-- -----------------------------------------------------------------------
+-- CMS_COUNTERS
+-- -----------------------------------------------------------------------
+
+CREATE TABLE CMS_COUNTERS
+(
+ NAME VARCHAR(255) NOT NULL,
+ COUNTER INTEGER NOT NULL,
+ PRIMARY KEY (NAME)
+);
+
+CREATE UNIQUE INDEX PK_COUNTERS ON CMS_COUNTERS (NAME);
+
+-- -----------------------------------------------------------------------
-- CMS_GROUPS
-- -----------------------------------------------------------------------
@@ -32,3 +32,6 @@ DROP TABLE CMS_STATICEXPORT_LINKS ;
DROP TABLE CMS_SUBSCRIPTION;
DROP TABLE CMS_SUBSCRIPTION_VISIT;
DROP TABLE CMS_LOG;
+DROP TABLE CMS_COUNTERS;
+DROP TABLE CMS_OFFLINE_URLNAME_MAPPINGS;
+DROP TABLE CMS_ONLINE_URLNAME_MAPPINGS;
Oops, something went wrong.

0 comments on commit 3191018

Please sign in to comment.