Sha256: 47c3573711bcefd50316d91ee986d246d239fc8103bc3560a5dafc6c11657189

Contents?: true

Size: 421 Bytes

Versions: 14

Compression:

Stored size: 421 Bytes

Contents

class CreateContentBuilders < ActiveRecord::Migration
  def change
    create_table :content_builders do |t|
      t.string :title
      t.string :written_by
      t.datetime :date_publish
      t.text :content
      t.boolean :status, default: false
      t.string :slug
      t.text :summary
      t.references :content_builder_category, index: true, foreign_key: true

      t.timestamps null: false
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
rails_admin_featured_content-1.2.3 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_featured_content-1.2.2 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_featured_content-1.2.1 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_content_builder-1.2.0 lib/generators/templates/create_content_builder_migration.rb
rails_admin_featured_content-1.1.0 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_content_builder-1.1.0 lib/generators/templates/create_content_builder_migration.rb
rails_admin_featured_content-1.0.6 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_content_builder-1.0.6 lib/generators/templates/create_content_builder_migration.rb
rails_admin_content_builder-1.0.5 lib/generators/templates/create_content_builder_migration.rb
rails_admin_featured_content-1.0.5 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_featured_content-1.0.4 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_content_builder-1.0.4 lib/generators/templates/create_content_builder_migration.rb
rails_admin_featured_content-1.0.3 spec/dummy/db/migrate/20160729105802_create_content_builders.rb
rails_admin_content_builder-1.0.3 lib/generators/templates/create_content_builder_migration.rb