Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Cullen 137 posts 237 karma points
    Jul 21, 2009 @ 21:57
    Andrew Cullen
    0

    Adding DB tables for a package

    Hello, all-

    I'm in the plannign stages for a package, and was wondering if there are any best practices for adding database tables to Umbraco. I want to be sure that whatever I do doesn't remove my ability to upgrade to future versions, while automating the installation as much as possible.

    Thanks!

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Jul 21, 2009 @ 22:18
    Thomas Höhler
    0

    Just have a look into the Package Actions Contrib Project

    hth, Thomas

  • Andrew Cullen 137 posts 237 karma points
    Jul 21, 2009 @ 22:27
    Andrew Cullen
    0

    Thanks, Thomas. However, I've looked at the documentation there, and I don't see anything about adding database tables. At this point, I'm more concerned with things like naming conventions for tables, views, and stored procedures. Adding to a package is important, of course, but I think that's a phase two problem.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 21, 2009 @ 22:36
    Dirk De Grave
    100

    Hi Andrew,

    No need for concerns, just do it. Don't worry too much about naming conventions as there aren't any (unless your own conventions). Basically, you name it whatever you want, i'd just recommend to not use umbraco* and cms* prefixes.

    And there's a ExecuteSql package action which might be of interest to you.

     

    Cheers,

    /Dirk

  • Andrew Cullen 137 posts 237 karma points
    Jul 21, 2009 @ 23:27
    Andrew Cullen
    0

    Thanks, Dirk!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies