Sha256: f966443bac729adb433b442dd8e340ae02904d095ee586edf567b11e25d1a0d6

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

# This migration comes from tb_cms (originally 20121119025608)
class CreateSpudSnippets < ActiveRecord::Migration
  def change
    create_table :spud_snippets do |t|
      t.string :name
      t.text :content
      t.string :format
      t.text :content_processed
      t.integer :site_id, default: 0
      t.timestamps
    end

    add_index :spud_snippets, :site_id
    add_index :spud_snippets, :name
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tb_cms-1.3.0 spec/dummy/db/migrate/20141231214479_create_spud_snippets.tb_cms.rb
tb_cms-1.3.beta1 spec/dummy/db/migrate/20141231214479_create_spud_snippets.tb_cms.rb