[Bast-commits] r8073 - in ironman: .
plagger/lib/IronMan/Schema/Result
castaway at dev.catalyst.perl.org
castaway at dev.catalyst.perl.org
Sat Dec 12 16:15:07 GMT 2009
Author: castaway
Date: 2009-12-12 16:15:07 +0000 (Sat, 12 Dec 2009)
New Revision: 8073
Modified:
ironman/IronMan-Schema-0.01-0.02-PostgreSQL.sql
ironman/IronMan-Schema-0.01-0.02-SQLite.sql
ironman/IronMan-Schema-0.02-MySQL.sql
ironman/IronMan-Schema-0.02-PostgreSQL.sql
ironman/IronMan-Schema-0.02-SQLite.sql
ironman/plagger/lib/IronMan/Schema/Result/Post.pm
Log:
varchars to text fields in posts table
Modified: ironman/IronMan-Schema-0.01-0.02-PostgreSQL.sql
===================================================================
--- ironman/IronMan-Schema-0.01-0.02-PostgreSQL.sql 2009-12-12 16:05:48 UTC (rev 8072)
+++ ironman/IronMan-Schema-0.01-0.02-PostgreSQL.sql 2009-12-12 16:15:07 UTC (rev 8073)
@@ -8,9 +8,9 @@
"url" character varying(1024) NOT NULL,
"title" character varying(1024) NOT NULL,
"posted_on" timestamp NOT NULL,
- "summary" character varying(2048),
+ "summary" text,
"body" text NOT NULL,
- "summary_filtered" character varying(2048),
+ "summary_filtered" text,
"body_filtered" text,
PRIMARY KEY ("post_id"),
CONSTRAINT "url3" UNIQUE ("url")
Modified: ironman/IronMan-Schema-0.01-0.02-SQLite.sql
===================================================================
--- ironman/IronMan-Schema-0.01-0.02-SQLite.sql 2009-12-12 16:05:48 UTC (rev 8072)
+++ ironman/IronMan-Schema-0.01-0.02-SQLite.sql 2009-12-12 16:15:07 UTC (rev 8073)
@@ -8,9 +8,9 @@
url varchar(1024) NOT NULL,
title varchar(1024) NOT NULL,
posted_on datetime NOT NULL,
- summary varchar(2048),
+ summary text,
body text NOT NULL,
- summary_filtered varchar(2048),
+ summary_filtered text,
body_filtered text
);
Modified: ironman/IronMan-Schema-0.02-MySQL.sql
===================================================================
--- ironman/IronMan-Schema-0.02-MySQL.sql 2009-12-12 16:05:48 UTC (rev 8072)
+++ ironman/IronMan-Schema-0.02-MySQL.sql 2009-12-12 16:15:07 UTC (rev 8073)
@@ -1,6 +1,6 @@
--
-- Created by SQL::Translator::Producer::MySQL
--- Created on Sat Dec 12 16:03:31 2009
+-- Created on Sat Dec 12 16:12:47 2009
--
SET foreign_key_checks=0;
Modified: ironman/IronMan-Schema-0.02-PostgreSQL.sql
===================================================================
--- ironman/IronMan-Schema-0.02-PostgreSQL.sql 2009-12-12 16:05:48 UTC (rev 8072)
+++ ironman/IronMan-Schema-0.02-PostgreSQL.sql 2009-12-12 16:15:07 UTC (rev 8073)
@@ -1,6 +1,6 @@
--
-- Created by SQL::Translator::Producer::PostgreSQL
--- Created on Sat Dec 12 16:03:40 2009
+-- Created on Sat Dec 12 16:12:55 2009
--
--
-- Table: feed
@@ -26,9 +26,9 @@
"url" character varying(1024) NOT NULL,
"title" character varying(1024) NOT NULL,
"posted_on" timestamp NOT NULL,
- "summary" character varying(2048),
+ "summary" text,
"body" text NOT NULL,
- "summary_filtered" character varying(2048),
+ "summary_filtered" text,
"body_filtered" text,
PRIMARY KEY ("post_id"),
CONSTRAINT "url3" UNIQUE ("url")
Modified: ironman/IronMan-Schema-0.02-SQLite.sql
===================================================================
--- ironman/IronMan-Schema-0.02-SQLite.sql 2009-12-12 16:05:48 UTC (rev 8072)
+++ ironman/IronMan-Schema-0.02-SQLite.sql 2009-12-12 16:15:07 UTC (rev 8073)
@@ -1,6 +1,6 @@
--
-- Created by SQL::Translator::Producer::SQLite
--- Created on Sat Dec 12 16:03:36 2009
+-- Created on Sat Dec 12 16:12:51 2009
--
@@ -33,9 +33,9 @@
url varchar(1024) NOT NULL,
title varchar(1024) NOT NULL,
posted_on datetime NOT NULL,
- summary varchar(2048),
+ summary text,
body text NOT NULL,
- summary_filtered varchar(2048),
+ summary_filtered text,
body_filtered text
);
Modified: ironman/plagger/lib/IronMan/Schema/Result/Post.pm
===================================================================
--- ironman/plagger/lib/IronMan/Schema/Result/Post.pm 2009-12-12 16:05:48 UTC (rev 8072)
+++ ironman/plagger/lib/IronMan/Schema/Result/Post.pm 2009-12-12 16:15:07 UTC (rev 8073)
@@ -31,16 +31,14 @@
## arbitrary size!
## HTMLTruncate plugin to plagger truns to 300 at the moment
summary => {
- data_type => 'varchar',
- size => 2048,
+ data_type => 'text',
is_nullable => 1,
},
body => {
data_type => 'text',
},
summary_filtered => {
- data_type => 'varchar',
- size => 2048,
+ data_type => 'text',
is_nullable => 1,
},
body_filtered => {
More information about the Bast-commits
mailing list