Sha256: 601394addecb244aa142d2a8fb248959c436a4be01f2791c7f1802650ae98d80

Contents?: true

Size: 380 Bytes

Versions: 96

Compression:

Stored size: 380 Bytes

Contents

ActiveRecord::Base.connection.create_table :comments, :force => true do |t|
  t.column :name,     :string,  :null => false
  t.column :email,    :string
  t.column :url,      :string
  t.column :content,  :text
  t.column :post_id,  :integer, :null => false
  t.column :category_id, :integer, :null => false
  t.column :created_at, :datetime
  t.column :updated_at, :datetime
end

Version data entries

96 entries across 96 versions & 15 rubygems

Version Path
friendlyfashion-thinking-sphinx-2.0.14.4 features/thinking_sphinx/db/migrations/create_comments.rb
friendlyfashion-thinking-sphinx-2.0.14.3 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.1.0 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.5.0 features/thinking_sphinx/db/migrations/create_comments.rb
friendlyfashion-thinking-sphinx-2.0.14.2 features/thinking_sphinx/db/migrations/create_comments.rb
friendlyfashion-thinking-sphinx-2.0.14.1 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.14 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.4.14 features/thinking_sphinx/db/migrations/create_comments.rb
friendlyfashion-thinking-sphinx-2.0.13.3 features/thinking_sphinx/db/migrations/create_comments.rb
friendlyfashion-thinking-sphinx-2.0.13.2 features/thinking_sphinx/db/migrations/create_comments.rb
friendlyfashion-thinking-sphinx-2.0.13.1 features/thinking_sphinx/db/migrations/create_comments.rb
friendlyfashion-thinking-sphinx-2.0.13 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.13 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.4.13 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.12 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.4.12 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.11 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.4.11 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.10 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.4.10 features/thinking_sphinx/db/migrations/create_comments.rb