This is a bug in the sense like using serialized arrays in old forms
using usegroup as string not id, 

Simply is a bug that database is not normalized, database layout
is not done right. It's not throw any error but it's a bug.

It's not how you design database, of course you don't need relation at
all and have everything in one table with lots of redundancy and it
still be working and it will not throw any errors if code is done right.

I should report all those things in one bug. and they can be fix for
new admin panel, and can be added to upgrader.

On Fri, 04 May 2012 19:06:44 -0000
rg1024 <[email protected]> wrote:

> A relation can work over a numeric field or a string field. For human,
> string are more readable and you don't need remember that 4 is code
> for aiki_admin, for example...
> 
> Probaly in a new design i should use a number as id, but now, its more
> important to maintain backward compatibility so this "improvements"
> can be delayed.
> 
> Imho, this is not bug: does it fail?  do it given a unexpected
> behavior? As a improvement, what do we gain with it?  more speed?
> less disk space (how much?),
> 
> Roger
> 

--
Jakub Jankiewicz
www: <http://jcubic.pl>
twitter: <http://twitter.com/jcubic>
blog: <http://jcubic.wordpress.com>

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/994444

Title:
  widget_site in aiki_widgets should be id not string

Status in Aiki Framework:
  New

Bug description:
  The whole idea about relational database is to have connection between
  tables using primary and foreign keys.

  so this should be equivalent  aiki_sites.id ==
  aiki_widgets.widget_site

  right now widget_site is varchar(255) and all widgets have "default"
  in it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/994444/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to