Sha256: 1fb7ffdb813d7218a865fe43eb1ef77a7a9dad802e45331688c461d67edc0b0f

Contents?: true

Size: 275 Bytes

Versions: 51

Compression:

Stored size: 275 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def self.up
    create_table :posts, :force => true do |t|
      t.column :name, :string
      t.column :reply_counter, :integer
      t.column :posted_at, :datetime
    end
  end

  def self.down
    drop_table :posts
  end
end

Version data entries

51 entries across 51 versions & 9 rubygems

Version Path
honkster-acts_as_solr-0.1.0 test/db/migrate/007_create_posts.rb
honkster-acts_as_solr-0.2.0 test/db/migrate/007_create_posts.rb
honkster-acts_as_solr-0.2.1 test/db/migrate/007_create_posts.rb
honkster-acts_as_solr-0.2.2 test/db/migrate/007_create_posts.rb
honkster-acts_as_solr-0.2.3 test/db/migrate/007_create_posts.rb
honkster-acts_as_solr-0.2.4 test/db/migrate/007_create_posts.rb
honkster-acts_as_solr-0.2.5 test/db/migrate/007_create_posts.rb
honkster-acts_as_solr-0.3.4 test/db/migrate/007_create_posts.rb
jbasdf-acts_as_solr-0.3.3 test/db/migrate/007_create_posts.rb
jbasdf-jbasdf-acts_as_solr-0.4.0 test/db/migrate/007_create_posts.rb
jbasdf-muck-solr-0.4.0 test/db/migrate/007_create_posts.rb
jbasdf-muck-solr-0.4.1 test/db/migrate/007_create_posts.rb
jbasdf-muck-solr-0.4.2 test/db/migrate/007_create_posts.rb
onemorecloud-websolr-rails-1.1.1 test/db/migrate/007_create_posts.rb
onemorecloud-websolr-rails-1.3.3 test/db/migrate/007_create_posts.rb
onemorecloud-websolr-rails-1.4.0 test/db/migrate/007_create_posts.rb
onemorecloud-websolr-rails-1.4.1 test/db/migrate/007_create_posts.rb
acts_as_solr_reloaded-1.6.0 test/db/migrate/007_create_posts.rb
muck-solr-3.0.1 test/db/migrate/007_create_posts.rb
muck-solr-3.0.0 test/db/migrate/007_create_posts.rb