Sha256: 5600d89b86b427afe947f65cb48fa2ffe376bf636c18607dfa8d50554fd50dce

Contents?: true

Size: 256 Bytes

Versions: 7

Compression:

Stored size: 256 Bytes

Contents

class CreateGroupedBlogs < ActiveRecord::Migration
  def change
    create_table :grouped_blogs do |t|
      t.string :name
      t.text :body
      t.boolean :active, default: true
      t.column :author_id, :integer

      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
brightcontent-core-2.4.6 spec/dummy/db/migrate/20160623142310_create_grouped_blogs.rb
brightcontent-core-2.4.5 spec/dummy/db/migrate/20160623142310_create_grouped_blogs.rb
brightcontent-core-2.4.4 spec/dummy/db/migrate/20160623142310_create_grouped_blogs.rb
brightcontent-core-2.4.3 spec/dummy/db/migrate/20160623142310_create_grouped_blogs.rb
brightcontent-core-2.4.2 spec/dummy/db/migrate/20160623142310_create_grouped_blogs.rb
brightcontent-core-2.4.1 spec/dummy/db/migrate/20160623142310_create_grouped_blogs.rb
brightcontent-core-2.4.0 spec/dummy/db/migrate/20160623142310_create_grouped_blogs.rb