diff --git a/db/migrate/034_create_countries.rb b/db/migrate/034_create_countries.rb new file mode 100644 --- /dev/null +++ b/db/migrate/034_create_countries.rb @@ -0,0 +1,12 @@ +class CreateCountries < ActiveRecord::Migration + def self.up + create_table :countries do |t| + t.column :name, :string + t.timestamps + end + end + + def self.down + drop_table :countries + end +end