view .svn/pristine/d7/d71db2ac4105263a352d2e280dedafe26d5196e1.svn-base @ 1624:76f8f0814e1e live

Use --check to avoid errors when updating in repos with more than one head
author Chris Cannam
date Fri, 10 Aug 2018 16:08:05 +0100
parents cbb26bc654de
children
line wrap: on
line source
class CreateTests < ActiveRecord::Migration
  def self.up
    create_table 'tests' do |t|
      t.column 'name', :string
    end
  end

  def self.down
    drop_table 'tests'
  end
end