class CreateResources < ActiveRecord::Migration
  def change
    create_table :resources do |t|
      t.string :name, null: false, default: ''

      t.timestamps null: false
    end

    add_index :resources, :name, unique: true
  end
end

Add migration for default content
Add migration for default content

The only class the application knows is a generic 'Resource' that has
a name as its only attribute. A migration has been added to create the
table.
