Skip to content

Instantly share code, notes, and snippets.

Created June 25, 2011 20:10
Show Gist options
  • Select an option

  • Save anonymous/1046850 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/1046850 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Jun 25, 2011.
    13 changes: 13 additions & 0 deletions snippet.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    class CreateBundles < ActiveRecord::Migration
    def self.up
    create_table :bundles do |t|
    t.string :bundle_id, :null => false
    t.string :title, :null => false
    t.timestamps
    end
    end

    def self.down
    drop_table :bundles
    end
    end