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. 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.
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.
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!
Just have a look into the Package Actions Contrib Project
hth, Thomas
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.
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
Thanks, Dirk!
is working on a reply...
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.