[Bast-commits] r8970 - ironman/IronMan-Schema/etc
idn at dev.catalyst.perl.org
idn at dev.catalyst.perl.org
Thu Mar 11 19:30:50 GMT 2010
Author: idn
Date: 2010-03-11 19:30:50 +0000 (Thu, 11 Mar 2010)
New Revision: 8970
Added:
ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-MySQL.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-PostgreSQL.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-SQLite.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.01-MySQL.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.01-PostgreSQL.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.01-SQLite.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.02-0.03-SQLite.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.02-MySQL.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.02-PostgreSQL.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.02-SQLite.sql
ironman/IronMan-Schema/etc/IronMan-Schema-0.03-SQLite.sql
Log:
Moving schema upgrade files into distro dir
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-MySQL.sql (from rev 8968, ironman/IronMan-Schema-0.01-0.02-MySQL.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-MySQL.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-MySQL.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,34 @@
+-- Convert schema './IronMan-Schema-0.01-MySQL.sql' to 'IronMan::Schema v0.02':;
+
+BEGIN;
+
+SET foreign_key_checks=0;
+
+CREATE TABLE `posts` (
+ post_id integer NOT NULL auto_increment,
+ feed_id varchar(255) NOT NULL,
+ url text NOT NULL,
+ title text NOT NULL,
+ posted_on datetime NOT NULL,
+ summary text,
+ body text NOT NULL,
+ summary_filtered text,
+ body_filtered text,
+ INDEX posts_idx_feed_id (feed_id),
+ PRIMARY KEY (post_id),
+ UNIQUE url (url),
+ CONSTRAINT posts_fk_feed_id FOREIGN KEY (feed_id) REFERENCES `feed` (id)
+) ENGINE=InnoDB;
+
+SET foreign_key_checks=1;
+
+ALTER TABLE feed CHANGE COLUMN url url text,
+ CHANGE COLUMN link link text,
+ CHANGE COLUMN title title text;
+
+ALTER TABLE tag CHANGE COLUMN name name text NOT NULL;
+
+
+COMMIT;
+
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-MySQL.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-PostgreSQL.sql (from rev 8968, ironman/IronMan-Schema-0.01-0.02-PostgreSQL.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-PostgreSQL.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-PostgreSQL.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,26 @@
+-- Convert schema './IronMan-Schema-0.01-PostgreSQL.sql' to './IronMan-Schema-0.02-PostgreSQL.sql':;
+
+BEGIN;
+
+CREATE TABLE "posts" (
+ "post_id" serial NOT NULL,
+ "feed_id" character varying(255) NOT NULL,
+ "url" character varying(1024) NOT NULL,
+ "title" character varying(1024) NOT NULL,
+ "posted_on" timestamp NOT NULL,
+ "summary" text,
+ "body" text NOT NULL,
+ "summary_filtered" text,
+ "body_filtered" text,
+ PRIMARY KEY ("post_id"),
+ CONSTRAINT "url3" UNIQUE ("url")
+);
+CREATE INDEX "posts_idx_feed_id" on "posts" ("feed_id");
+
+ALTER TABLE "posts" ADD FOREIGN KEY ("feed_id")
+ REFERENCES "feed" ("id") DEFERRABLE;
+
+
+COMMIT;
+
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-PostgreSQL.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-SQLite.sql (from rev 8968, ironman/IronMan-Schema-0.01-0.02-SQLite.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-SQLite.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-SQLite.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,24 @@
+-- Convert schema './IronMan-Schema-0.01-SQLite.sql' to './IronMan-Schema-0.02-SQLite.sql':;
+
+BEGIN;
+
+CREATE TABLE posts (
+ post_id INTEGER PRIMARY KEY NOT NULL,
+ feed_id varchar(255) NOT NULL,
+ url varchar(1024) NOT NULL,
+ title varchar(1024) NOT NULL,
+ posted_on datetime NOT NULL,
+ summary text,
+ body text NOT NULL,
+ summary_filtered text,
+ body_filtered text
+);
+
+CREATE INDEX posts_idx_feed_id ON posts (feed_id);
+
+CREATE UNIQUE INDEX url02 ON posts (url);
+
+
+COMMIT;
+
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-0.02-SQLite.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-MySQL.sql (from rev 8968, ironman/IronMan-Schema-0.01-MySQL.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.01-MySQL.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.01-MySQL.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,50 @@
+--
+-- Created by SQL::Translator::Producer::MySQL
+-- Created on Sat Dec 12 15:38:01 2009
+--
+SET foreign_key_checks=0;
+
+DROP TABLE IF EXISTS `feed`;
+
+--
+-- Table: `feed`
+--
+CREATE TABLE `feed` (
+ `id` varchar(255) NOT NULL,
+ `url` text,
+ `link` text,
+ `title` text,
+ `owner` varchar(255) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE `url` (`url`)
+) ENGINE=InnoDB;
+
+DROP TABLE IF EXISTS `tag`;
+
+--
+-- Table: `tag`
+--
+CREATE TABLE `tag` (
+ `id` integer NOT NULL auto_increment,
+ `name` text NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB;
+
+DROP TABLE IF EXISTS `feed_tag_map`;
+
+--
+-- Table: `feed_tag_map`
+--
+CREATE TABLE `feed_tag_map` (
+ `feed` integer NOT NULL,
+ `tag` integer NOT NULL,
+ INDEX feed_tag_map_idx_feed (`feed`),
+ INDEX feed_tag_map_idx_tag (`tag`),
+ PRIMARY KEY (`feed`, `tag`),
+ CONSTRAINT `feed_tag_map_fk_feed` FOREIGN KEY (`feed`) REFERENCES `feed` (`id`),
+ CONSTRAINT `feed_tag_map_fk_tag` FOREIGN KEY (`tag`) REFERENCES `tag` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB;
+
+SET foreign_key_checks=1;
+
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-MySQL.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-PostgreSQL.sql (from rev 8968, ironman/IronMan-Schema-0.01-PostgreSQL.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.01-PostgreSQL.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.01-PostgreSQL.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,51 @@
+--
+-- Created by SQL::Translator::Producer::PostgreSQL
+-- Created on Sat Dec 12 15:38:01 2009
+--
+--
+-- Table: feed
+--
+DROP TABLE "feed" CASCADE;
+CREATE TABLE "feed" (
+ "id" character varying(255) NOT NULL,
+ "url" character varying(1024),
+ "link" character varying(1024),
+ "title" character varying(1024),
+ "owner" character varying(255) NOT NULL,
+ PRIMARY KEY ("id"),
+ CONSTRAINT "url" UNIQUE ("url")
+);
+
+--
+-- Table: tag
+--
+DROP TABLE "tag" CASCADE;
+CREATE TABLE "tag" (
+ "id" serial NOT NULL,
+ "name" character varying(1024) NOT NULL,
+ PRIMARY KEY ("id")
+);
+
+--
+-- Table: feed_tag_map
+--
+DROP TABLE "feed_tag_map" CASCADE;
+CREATE TABLE "feed_tag_map" (
+ "feed" integer NOT NULL,
+ "tag" integer NOT NULL,
+ PRIMARY KEY ("feed", "tag")
+);
+CREATE INDEX "feed_tag_map_idx_feed" on "feed_tag_map" ("feed");
+CREATE INDEX "feed_tag_map_idx_tag" on "feed_tag_map" ("tag");
+
+--
+-- Foreign Key Definitions
+--
+
+ALTER TABLE "feed_tag_map" ADD FOREIGN KEY ("feed")
+ REFERENCES "feed" ("id") DEFERRABLE;
+
+ALTER TABLE "feed_tag_map" ADD FOREIGN KEY ("tag")
+ REFERENCES "tag" ("id") ON DELETE CASCADE ON UPDATE CASCADE DEFERRABLE;
+
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-PostgreSQL.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-SQLite.sql (from rev 8968, ironman/IronMan-Schema-0.01-SQLite.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.01-SQLite.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.01-SQLite.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,51 @@
+--
+-- Created by SQL::Translator::Producer::SQLite
+-- Created on Sat Dec 12 15:38:01 2009
+--
+
+
+BEGIN TRANSACTION;
+
+--
+-- Table: feed
+--
+DROP TABLE feed;
+
+CREATE TABLE feed (
+ id varchar(255) NOT NULL,
+ url varchar(1024),
+ link varchar(1024),
+ title varchar(1024),
+ owner varchar(255) NOT NULL,
+ PRIMARY KEY (id)
+);
+
+CREATE UNIQUE INDEX url ON feed (url);
+
+--
+-- Table: tag
+--
+DROP TABLE tag;
+
+CREATE TABLE tag (
+ id INTEGER PRIMARY KEY NOT NULL,
+ name varchar(1024) NOT NULL
+);
+
+--
+-- Table: feed_tag_map
+--
+DROP TABLE feed_tag_map;
+
+CREATE TABLE feed_tag_map (
+ feed integer NOT NULL,
+ tag integer NOT NULL,
+ PRIMARY KEY (feed, tag)
+);
+
+CREATE INDEX feed_tag_map_idx_feed ON feed_tag_map (feed);
+
+CREATE INDEX feed_tag_map_idx_tag ON feed_tag_map (tag);
+
+COMMIT;
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.01-SQLite.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-0.03-SQLite.sql (from rev 8968, ironman/IronMan-Schema-0.02-0.03-SQLite.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.02-0.03-SQLite.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.02-0.03-SQLite.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,11 @@
+-- Convert schema './IronMan-Schema-0.02-SQLite.sql' to './IronMan-Schema-0.03-SQLite.sql':;
+
+BEGIN;
+
+ALTER TABLE posts ADD COLUMN author varchar(1024) NOT NULL;
+
+ALTER TABLE posts ADD COLUMN tags varchar(1024) NOT NULL;
+
+
+COMMIT;
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-0.03-SQLite.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-MySQL.sql (from rev 8968, ironman/IronMan-Schema-0.02-MySQL.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.02-MySQL.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.02-MySQL.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,71 @@
+--
+-- Created by SQL::Translator::Producer::MySQL
+-- Created on Sat Dec 12 16:12:47 2009
+--
+SET foreign_key_checks=0;
+
+DROP TABLE IF EXISTS `feed`;
+
+--
+-- Table: `feed`
+--
+CREATE TABLE `feed` (
+ `id` varchar(255) NOT NULL,
+ `url` text,
+ `link` text,
+ `title` text,
+ `owner` varchar(255) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE `url` (`url`)
+) ENGINE=InnoDB;
+
+DROP TABLE IF EXISTS `tag`;
+
+--
+-- Table: `tag`
+--
+CREATE TABLE `tag` (
+ `id` integer NOT NULL auto_increment,
+ `name` text NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB;
+
+DROP TABLE IF EXISTS `posts`;
+
+--
+-- Table: `posts`
+--
+CREATE TABLE `posts` (
+ `post_id` integer NOT NULL auto_increment,
+ `feed_id` varchar(255) NOT NULL,
+ `url` text NOT NULL,
+ `title` text NOT NULL,
+ `posted_on` datetime NOT NULL,
+ `summary` text,
+ `body` text NOT NULL,
+ `summary_filtered` text,
+ `body_filtered` text,
+ INDEX posts_idx_feed_id (`feed_id`),
+ PRIMARY KEY (`post_id`),
+ UNIQUE `url` (`url`),
+ CONSTRAINT `posts_fk_feed_id` FOREIGN KEY (`feed_id`) REFERENCES `feed` (`id`)
+) ENGINE=InnoDB;
+
+DROP TABLE IF EXISTS `feed_tag_map`;
+
+--
+-- Table: `feed_tag_map`
+--
+CREATE TABLE `feed_tag_map` (
+ `feed` integer NOT NULL,
+ `tag` integer NOT NULL,
+ INDEX feed_tag_map_idx_feed (`feed`),
+ INDEX feed_tag_map_idx_tag (`tag`),
+ PRIMARY KEY (`feed`, `tag`),
+ CONSTRAINT `feed_tag_map_fk_feed` FOREIGN KEY (`feed`) REFERENCES `feed` (`id`),
+ CONSTRAINT `feed_tag_map_fk_tag` FOREIGN KEY (`tag`) REFERENCES `tag` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB;
+
+SET foreign_key_checks=1;
+
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-MySQL.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-PostgreSQL.sql (from rev 8968, ironman/IronMan-Schema-0.02-PostgreSQL.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.02-PostgreSQL.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.02-PostgreSQL.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,73 @@
+--
+-- Created by SQL::Translator::Producer::PostgreSQL
+-- Created on Sat Dec 12 16:12:55 2009
+--
+--
+-- Table: feed
+--
+DROP TABLE "feed" CASCADE;
+CREATE TABLE "feed" (
+ "id" character varying(255) NOT NULL,
+ "url" character varying(1024),
+ "link" character varying(1024),
+ "title" character varying(1024),
+ "owner" character varying(255) NOT NULL,
+ PRIMARY KEY ("id"),
+ CONSTRAINT "url" UNIQUE ("url")
+);
+
+--
+-- Table: posts
+--
+DROP TABLE "posts" CASCADE;
+CREATE TABLE "posts" (
+ "post_id" serial NOT NULL,
+ "feed_id" character varying(255) NOT NULL,
+ "url" character varying(1024) NOT NULL,
+ "title" character varying(1024) NOT NULL,
+ "posted_on" timestamp NOT NULL,
+ "summary" text,
+ "body" text NOT NULL,
+ "summary_filtered" text,
+ "body_filtered" text,
+ PRIMARY KEY ("post_id"),
+ CONSTRAINT "url3" UNIQUE ("url")
+);
+CREATE INDEX "posts_idx_feed_id" on "posts" ("feed_id");
+
+--
+-- Table: tag
+--
+DROP TABLE "tag" CASCADE;
+CREATE TABLE "tag" (
+ "id" serial NOT NULL,
+ "name" character varying(1024) NOT NULL,
+ PRIMARY KEY ("id")
+);
+
+--
+-- Table: feed_tag_map
+--
+DROP TABLE "feed_tag_map" CASCADE;
+CREATE TABLE "feed_tag_map" (
+ "feed" integer NOT NULL,
+ "tag" integer NOT NULL,
+ PRIMARY KEY ("feed", "tag")
+);
+CREATE INDEX "feed_tag_map_idx_feed" on "feed_tag_map" ("feed");
+CREATE INDEX "feed_tag_map_idx_tag" on "feed_tag_map" ("tag");
+
+--
+-- Foreign Key Definitions
+--
+
+ALTER TABLE "posts" ADD FOREIGN KEY ("feed_id")
+ REFERENCES "feed" ("id") DEFERRABLE;
+
+ALTER TABLE "feed_tag_map" ADD FOREIGN KEY ("feed")
+ REFERENCES "feed" ("id") DEFERRABLE;
+
+ALTER TABLE "feed_tag_map" ADD FOREIGN KEY ("tag")
+ REFERENCES "tag" ("id") ON DELETE CASCADE ON UPDATE CASCADE DEFERRABLE;
+
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-PostgreSQL.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-SQLite.sql (from rev 8968, ironman/IronMan-Schema-0.02-SQLite.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.02-SQLite.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.02-SQLite.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,72 @@
+--
+-- Created by SQL::Translator::Producer::SQLite
+-- Created on Sat Dec 12 16:12:51 2009
+--
+
+
+BEGIN TRANSACTION;
+
+--
+-- Table: feed
+--
+DROP TABLE feed;
+
+CREATE TABLE feed (
+ id varchar(255) NOT NULL,
+ url varchar(1024),
+ link varchar(1024),
+ title varchar(1024),
+ owner varchar(255) NOT NULL,
+ PRIMARY KEY (id)
+);
+
+CREATE UNIQUE INDEX url ON feed (url);
+
+--
+-- Table: posts
+--
+DROP TABLE posts;
+
+CREATE TABLE posts (
+ post_id INTEGER PRIMARY KEY NOT NULL,
+ feed_id varchar(255) NOT NULL,
+ url varchar(1024) NOT NULL,
+ title varchar(1024) NOT NULL,
+ posted_on datetime NOT NULL,
+ summary text,
+ body text NOT NULL,
+ summary_filtered text,
+ body_filtered text
+);
+
+CREATE INDEX posts_idx_feed_id ON posts (feed_id);
+
+CREATE UNIQUE INDEX url02 ON posts (url);
+
+--
+-- Table: tag
+--
+DROP TABLE tag;
+
+CREATE TABLE tag (
+ id INTEGER PRIMARY KEY NOT NULL,
+ name varchar(1024) NOT NULL
+);
+
+--
+-- Table: feed_tag_map
+--
+DROP TABLE feed_tag_map;
+
+CREATE TABLE feed_tag_map (
+ feed integer NOT NULL,
+ tag integer NOT NULL,
+ PRIMARY KEY (feed, tag)
+);
+
+CREATE INDEX feed_tag_map_idx_feed ON feed_tag_map (feed);
+
+CREATE INDEX feed_tag_map_idx_tag ON feed_tag_map (tag);
+
+COMMIT;
+
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.02-SQLite.sql
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: ironman/IronMan-Schema/etc/IronMan-Schema-0.03-SQLite.sql (from rev 8968, ironman/IronMan-Schema-0.03-SQLite.sql)
===================================================================
--- ironman/IronMan-Schema/etc/IronMan-Schema-0.03-SQLite.sql (rev 0)
+++ ironman/IronMan-Schema/etc/IronMan-Schema-0.03-SQLite.sql 2010-03-11 19:30:50 UTC (rev 8970)
@@ -0,0 +1,73 @@
+--
+-- Created by SQL::Translator::Producer::SQLite
+-- Created on Tue Dec 22 23:19:43 2009
+--
+
+
+BEGIN TRANSACTION;
+
+--
+-- Table: feed
+--
+DROP TABLE feed;
+
+CREATE TABLE feed (
+ id varchar(255) NOT NULL,
+ url varchar(1024),
+ link varchar(1024),
+ title varchar(1024),
+ owner varchar(255) NOT NULL,
+ PRIMARY KEY (id)
+);
+
+CREATE UNIQUE INDEX url_feed ON feed (url);
+
+--
+-- Table: feed_tag_map
+--
+DROP TABLE feed_tag_map;
+
+CREATE TABLE feed_tag_map (
+ feed integer NOT NULL,
+ tag integer NOT NULL,
+ PRIMARY KEY (feed, tag)
+);
+
+CREATE INDEX feed_tag_map_idx_feed_feed_tag ON feed_tag_map (feed);
+
+CREATE INDEX feed_tag_map_idx_tag_feed_tag_ ON feed_tag_map (tag);
+
+--
+-- Table: posts
+--
+DROP TABLE posts;
+
+CREATE TABLE posts (
+ post_id INTEGER PRIMARY KEY NOT NULL,
+ feed_id varchar(255) NOT NULL,
+ url varchar(1024) NOT NULL,
+ title varchar(1024) NOT NULL,
+ posted_on datetime NOT NULL,
+ summary text,
+ body text NOT NULL,
+ summary_filtered text,
+ body_filtered text,
+ author varchar(1024) NOT NULL,
+ tags varchar(1024) NOT NULL
+);
+
+CREATE INDEX posts_idx_feed_id_posts ON posts (feed_id);
+
+CREATE UNIQUE INDEX url_posts ON posts (url);
+
+--
+-- Table: tag
+--
+DROP TABLE tag;
+
+CREATE TABLE tag (
+ id INTEGER PRIMARY KEY NOT NULL,
+ name varchar(1024) NOT NULL
+);
+
+COMMIT;
Property changes on: ironman/IronMan-Schema/etc/IronMan-Schema-0.03-SQLite.sql
___________________________________________________________________
Added: svn:mergeinfo
+
More information about the Bast-commits
mailing list