Sha256: 2b63cdf5cb097ee16740440892b1dc5c5c8295cfa6f2d4db68fb08129ebeac76

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

class CreateBcmsBitlyShortLinks < ActiveRecord::Migration
  def change
    Cms::ContentType.create!(:name => "BcmsBitly::ShortLink", :group_name => "BcmsBitly")
    create_content_table :bcms_bitly_short_links, :prefix=>false do |t|
      t.string :url
      t.integer :page_id

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bcms_bitly-1.0.0 db/migrate/20120516162513_create_bcms_bitly_short_links.rb
bcms_bitly-0.0.4 db/migrate/20120516162513_create_bcms_bitly_short_links.rb
bcms_bitly-0.0.2 db/migrate/20120516162513_create_bcms_bitly_short_links.rb