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?
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.
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.
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?
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
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.
is working on a reply...