class CreateLocalAuthorities < ActiveRecord::Migration
  def change
    create_table :local_authorities do |t|
      t.string :gss
      t.string :homepage_url
      t.string :name
      t.string :slug
      t.string :snac
      t.string :tier

      t.timestamps null: false
    end

    add_index :local_authorities, :gss, :unique => true
    add_index :local_authorities, :snac, :unique => true
  end
end

class CreateLocalAuthorities < ActiveRecord::Migration
  def change
    create_table :local_authorities do |t|
      t.string :gss
      t.string :homepage_url
      t.string :name
      t.string :slug
      t.string :snac
      t.string :tier

      t.timestamps null: false
    end

    add_index :local_authorities, :gss, unique: true
    add_index :local_authorities, :snac, unique: true
  end
end

Fix syntax in local authority migration
Fix syntax in local authority migration

Changed the create_local_authorities migration to use the new hash syntax
