Sha256: 576e7b48812ae0e60a44ff9bd8a9ec4b73021bd9394423bccd63d8d849c4164b
Contents?: true
Size: 533 Bytes
Versions: 3
Compression:
Stored size: 533 Bytes
Contents
class ThesisCreatePageContent < ActiveRecord::Migration def self.up # Please note: if you change this (in the thesis gem) please # update the /spec/spec_helper.rb to match. create_table :page_contents do |t| t.integer :page_id, null: false t.string :name, null: false t.text :content, default: "Edit This Content Area" t.string :content_type, default: :html t.timestamps end end def self.down drop_table :page_contents end end
Version data entries
3 entries across 3 versions & 1 rubygems