Sha256: 12abd985937788b56575bf54eedb3b9ffd0204b0a08a88c69afaca9f2927fefb

Contents?: true

Size: 294 Bytes

Versions: 65

Compression:

Stored size: 294 Bytes

Contents

class CreateSpudPagePartials < ActiveRecord::Migration
  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

65 entries across 65 versions & 2 rubygems

Version Path
tb_cms-1.3.0 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.3.beta1 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.2.3 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.2.2 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.2.1 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.2.0 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.2.0.beta3 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.2.0.beta1 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.1.5 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.1.4 db/migrate/20120103034659_create_spud_page_partials.rb
spud_cms-1.0.2 db/migrate/20120103034659_create_spud_page_partials.rb
spud_cms-1.0.1 db/migrate/20120103034659_create_spud_page_partials.rb
spud_cms-1.0.0 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.1.3 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.1.2 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.1.1 db/migrate/20120103034659_create_spud_page_partials.rb
spud_cms-1.0.0.rc1.4 db/migrate/20120103034659_create_spud_page_partials.rb
tb_cms-1.1.0 db/migrate/20120103034659_create_spud_page_partials.rb
spud_cms-1.0.0.rc1.3 db/migrate/20120103034659_create_spud_page_partials.rb
spud_cms-1.0.0.rc1.2 db/migrate/20120103034659_create_spud_page_partials.rb