Giter VIP home page Giter VIP logo

Comments (3)

abjerner avatar abjerner commented on June 15, 2024 2

@ronaldbarendse thanks a lot posting this 👍

I think I started out on the V8 version of this package before Umbraco made it possible to upgrade from V7 to V8, so the redirects package wasn't intended to handle this. Which is kinda bad now that there is an upgrade path.

One of the things I'm probably going to look at next is import and export functionality, so I had thought about creating a migration that renames the old table, exports the rows, and then imports them in the new table. Doing this with an SQL script could possibly be smoother, so I'll look into that 😉

from skybrud.umbraco.redirects.

ronaldbarendse avatar ronaldbarendse commented on June 15, 2024

I've successfully migrated more than 100 redirects using this script and this seems to be the easiest/fastest way.

I'm not sure if you can explicitly target v7 to v8 migrations, but the existing CreateTable migration could be updated to run this script when the table already exists (and if it's the v7 schema):

if (TableExists(RedirectItemSchema.TableName)) return;

from skybrud.umbraco.redirects.

abjerner avatar abjerner commented on June 15, 2024

Hi @ronaldbarendse

This was something that the Umbraco 8 package should have supported, but as I've lacked the time to look into this, and as we're now moving towards Umbraco 9, I think it's too late to add this feature. I'm therefore closing the issue.

from skybrud.umbraco.redirects.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.