Sequel.migration do
  up do
    create_table(:table_2) do
      primary_key :id, type: Bignum
      String :field_1
      String :field_2
      Date :date_field
      DateTime :created_at
      DateTime :updated_at
      TrueClass :boolean_field
      Bignum :integer_field
      foreign_key :table_1_id, :table_1, type: Bignum, key: :id
    end
  end

  down do
    drop_table(:table_2)
  end
end
