Copied to clipboard

Flag this post as spam?

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


  • Nenad Kosanovic 18 posts 56 karma points
    Mar 17, 2014 @ 10:16
    Nenad Kosanovic
    0

    Create Document Type, page tc. using sql scripts

    Is it possible to use sql script t ocreate for example document type?

    Reason to d othis is logical. We can create something in development envirament and than just execut scripts on lats say staging or production ven new version is ready.

    This must be possible, it's jus sql database, but is there some examples?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 17, 2014 @ 10:36
    Jan Skovgaard
    0

    Hi Nenad

    As far as I know it is possible to make "Code first" in Umbraco 6 using the uSiteBuilder package. However I'm not sure if it works with Umbraco 7 or not though.

    Myabe an interesting read could be this blogpost by Offroadcode https://offroadcode.com/blog/1774/the-state-of-code-first-development-in-umbraco/

    Hope this helps.

    /Jan

  • Nenad Kosanovic 18 posts 56 karma points
    Mar 17, 2014 @ 11:21
    Nenad Kosanovic
    0

    Thanks Jan for your responce.

    This i interestign approuch, but I am looking for something that is simple sql script which will fill in Umbaco db tables, for example to create document type or new page.

Please Sign in or register to post replies

Write your reply to:

Draft