Changeset 1425
- Timestamp:
- 04/09/06 23:45:25 (3 years ago)
- Files:
-
- 1 modified
-
trunk/rss/schema.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rss/schema.php
r1349 r1425 684 684 proptype enum('item','feed','folder','category','plugin','tag','theme','misc') NOT NULL default 'item', 685 685 property varchar(128) NOT NULL default '', 686 value text NOT NULL, 687 UNIQUE KEY uniq (fk_ref_object_id(180),property,proptype) 686 value text NOT NULL 688 687 ) TYPE=MyISAM; 689 688 … … 696 695 return 0; 697 696 } else { 698 return 1; 697 $idSql = "alter table $table add UNIQUE KEY uniq (fk_ref_object_id(180),property,proptype)"; 698 rss_query_wrapper($idSql, false, true); 699 return rss_is_sql_error(RSS_SQL_ERROR_NO_ERROR); 699 700 } 700 701 }
