Sha256: 6d460b4156517a82467fb3d33f7fb5036959c75b0ed063012d9f72eabe6564a7

Contents?: true

Size: 228 Bytes

Versions: 9

Compression:

Stored size: 228 Bytes

Contents

class CreatePosters < ActiveRecord::Migration
  def self.up
    create_table :posters do |t|
      t.integer   :user_id
      t.string    :body
      t.timestamps
    end
  end

  def self.down
    drop_table :posters
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cantango-core-0.1.9.3 spec/active_record/001_create_posters.rb
cantango-core-0.1.9.2 spec/active_record/001_create_posters.rb
cantango-core-0.1.9.1 spec/active_record/001_create_posters.rb
cantango-core-0.1.9 spec/active_record/001_create_posters.rb
cantango-core-0.1.8 spec/active_record/001_create_posters.rb
cantango-core-0.1.7 spec/active_record/001_create_posters.rb
cantango-core-0.1.6 spec/active_record/001_create_posters.rb
cantango-core-0.1.5 spec/active_record/001_create_posters.rb
cantango-core-0.1.4 spec/active_record/001_create_posters.rb