diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fd42a5b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/coverage/ \ No newline at end of file diff --git a/db/migrate/004_change_column_style.rb b/db/migrate/004_change_column_style.rb new file mode 100644 index 0000000..dd58851 --- /dev/null +++ b/db/migrate/004_change_column_style.rb @@ -0,0 +1,11 @@ +# To change this template, choose Tools | Templates +# and open the template in the editor. + +class ChangeColumnStyle < ActiveRecord::Migration + def self.up + change_column :banners, :style, :string, :default => "info", :null => false + end + + def self.down + end +end