Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Set Up Migrate Demo Site and Source Data

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    with Joe Shindelar
  • 0:08
    Throughout the rest of this series,
  • 0:10
    we're going to be implementing our own custom migration.
  • 0:13
    In order to do that, we're going to need a Drupal site with a couple
  • 0:16
    of custom content types and some source data
  • 0:19
    that we can use to import.
  • 0:22
    We've got some source data that contains information about baseball
  • 0:25
    players and teams in an SQL file.
  • 0:29
    So what we're going to do in this lesson
  • 0:31
    is build a Drupal site that has two content types, one for players

Set up Migrate Demo Site and Source Data

Loading...

Before we can write our own custom migration we need to construct the site that we're going to import data into and of course we need some source data to import. In this lesson we'll obtain some source data to work with and configure our Drupal site by installing a couple contributed modules, and creating the content types and fields necessary for our information architecture. During this process we'll also be taking a look at the baseball player and team data that we'll be importing and familiarizing ourselves a bit more with the tables and columns in our source database.

Note: The Lahman database structure has changed since this video was recorded, and the latest files provided by Lahman don't match what is used in the video. When following along with these examples you'll either need to use the 2012 source data, or make a few adjustments to field/table names throughout the source code as you follow along so that they match the current structure of the Lahman data.

Downloads: 
Log in or sign up to download companion files.