Closed GoogleCodeExporter closed 8 years ago
in t_ad:
s_address
Original comment by danielgs
on 18 Jan 2010 at 5:52
Important! new database model: start to work with that data model
Original comment by danielgs
on 20 Jan 2010 at 4:05
Attachments:
Resource: Width and height are not compatible with the concept of the table.
What are
the dimensions of a PDF document? And what the dimensions of a sound?
Category: If we put the language on this table then we will have category
"Cars" with
differents id of "Cotxe" and "Coche". Is this ok?
Category: Isn't better to split the table in category and category_name or
category_description? (with the translations for each locale)
It makes sense to have a dedicate content-type table? What is the idea for the
comment field on this table? (What about translations?)
Why do we want to know population on city and region?
Original comment by santiago...@gmail.com
on 24 Jan 2010 at 4:51
Resource: the most common resource for classifieds are images and video, we
need the
aspect ratio if we don't want to calculate (in PHP) it each time. For PDF,
sound and
other resources, that field can be NULL.
Category: No, the id of "Coche" and "Cotxe" is the same, the primary key is
"i_id and
language". It is possible I forgot the primary key in the "data model".
Category_Name: Just for us but I don't know if it is necessary
The content-type table is because we have finite content-types. If not, we are
repeating each time for example "image/gif". You decide, this field is only a
suggest.
Original comment by danielgs
on 24 Jan 2010 at 7:02
Maybe category_description is valid to some classifieds to put a comment next
to the
name.
Original comment by danielgs
on 25 Jan 2010 at 9:52
- Added b_spam (marked or not as spam), b_user_validation (validated by the
user),
b_active (validation by the website administrator) in oc_t_item and
oc_t_item_comment.
- New tables: oc_t_tmp_item_description (copy of the table t_item_description
table:
to have drafts) and oc_t_tmp_item (copy of the table t_item without the boolean
status fields -not necessary-, and with a new session field (char(40), using
SHA1 in
PHPSESSIONS). The not null and default values are well defined in the "data
model"
attached.
Original comment by danielgs
on 25 Jan 2010 at 12:13
Attachments:
Original comment by santiago...@gmail.com
on 23 Mar 2010 at 6:45
Original issue reported on code.google.com by
danielgs
on 18 Jan 2010 at 5:05