Menu

#170 (for 2.5.4) ON DELETE, ON UPDATE

closed-accepted
nobody
None
5
2003-09-05
2003-09-02
No

(for Relation view)

Please comment on the interface. I would be glad to know
how to reduce the fonts in the drop-downs.

Note: the drop-downs will do something in the next
version of this patch :)

Discussion

  • Marc Delisle

    Marc Delisle - 2003-09-02

    tbl_relation.php3 patch1

     
  • Garvin Hicking

    Garvin Hicking - 2003-09-02

    Logged In: YES
    user_id=473563

    As I'm not into those INNODB function, I cannot comment on
    it working. I created a table, tried to set ON UPDATE/ON
    DELETE to 'CASCADE' and at first got a 'Missing index'
    error. So I created indizes, and now I can save the options.
    But when going to it, the options I used previously are not
    selected.

    Anyways: You can set the size of an option field like this:

    <option value="xxx" style="font-size: xxx">
    resp.
    <option value="xxx" class="small">

    It's important that the styles are applied to the option
    tags, not the parent select tag.

     
  • Marc Delisle

    Marc Delisle - 2003-09-02

    Logged In: YES
    user_id=210714

    Thanks Garvin,

    This version was cosmetic only, next version will update the
    chosen ON DELETE/ON UPDATE options.

     
  • Garvin Hicking

    Garvin Hicking - 2003-09-02

    Logged In: YES
    user_id=473563

    Lem9,

    ah - then I get it. Well, I like the interface! I don't
    think it's wasting any space and fits the usual PMA style.
    Nifty. :-)

     
  • Marc Delisle

    Marc Delisle - 2003-09-02

    Logged In: YES
    user_id=210714

    Garvin,

    I have to apply the style to both the select tag and each
    option tag.

     
  • Marc Delisle

    Marc Delisle - 2003-09-05
    • status: open --> closed-accepted
     
  • Marc Delisle

    Marc Delisle - 2003-09-05

    Logged In: YES
    user_id=210714

    Merged in HEAD, and now it really does the updates.