Sha256: 514853be7a289942a28275df80fda57a56678b27a9566502af4f2a49f2b836ea

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

class CreateSpudPagePartials < ActiveRecord::Migration[4.2]
  def change
    create_table :spud_page_partials do |t|
      t.integer :spud_page_id
      t.string :name
      t.text :content
      t.string :format

      t.timestamps
    end
    add_index :spud_page_partials,:spud_page_id
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tb_cms-1.3.6 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.3.5 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.3.3 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.3.2 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.3.1 db/migrate/20120103034659_create_spud_page_partials.rb