From ad0ba7793806d213ee3e12efb33529379b4761c4 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Sun, 15 Apr 2012 15:03:05 +0200 Subject: Added database schema for Article and Feed object. --- documentation/schemas/Article | 20 ++++++++++++++++++++ documentation/schemas/Feed | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 documentation/schemas/Article create mode 100644 documentation/schemas/Feed diff --git a/documentation/schemas/Article b/documentation/schemas/Article new file mode 100644 index 00000000..150f244d --- /dev/null +++ b/documentation/schemas/Article @@ -0,0 +1,20 @@ +.. -*-restructuredtext-*- + + +Schema for a Article object +=========================== + + { + article_id: (str), + type: (str), + article_date: (datetime), + article_link: (str), + article_title: (str), + article_content: (str), + article_readed: (bool), + article_like: (bool) + } + + +Schema description +================== diff --git a/documentation/schemas/Feed b/documentation/schemas/Feed new file mode 100644 index 00000000..a67bc407 --- /dev/null +++ b/documentation/schemas/Feed @@ -0,0 +1,19 @@ +.. -*-restructuredtext-*- + + +Schema for a Feed object +=========================== + + { + feed_id: (str), + type: (int), + feed_image: (datetime), + feed_title: (str), + feed_link: (str), + site_link: (str), + mail: (bool), + } + + +Schema description +================== -- cgit