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
thinking-sphinx-2.0.1 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.0 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.4.0 features/thinking_sphinx/db/migrations/create_comments.rb
thorsson_thinking-sphinx-2.0 features/thinking_sphinx/db/migrations/create_comments.rb
angelf-thinking-sphinx-1.3.18 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.3.20 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.0.rc2 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.3.19 features/thinking_sphinx/db/migrations/create_comments.rb
skalee-thinking-sphinx-1.3.14.2 features/support/db/migrations/create_comments.rb
skalee-thinking-sphinx-1.3.14.1 features/support/db/migrations/create_comments.rb
thorsson_thinking-sphinx-1.3.18 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-allen-1.3.18.4 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-allen-1.3.18.3 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-allen-1.3.18.2 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-2.0.0.rc1 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-allen-1.3.18.1 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-allen-1.3.18 features/thinking_sphinx/db/migrations/create_comments.rb
thinking-sphinx-1.3.18 features/thinking_sphinx/db/migrations/create_comments.rb
josh_cutler-thinking-sphinx-1.3.17 features/thinking_sphinx/db/migrations/create_comments.rb
hawkerb-thinking-sphinx-1.3.18 features/support/db/migrations/create_comments.rb