Sha256: 47f7649514aba2766776443afca8ff6b3ced412ab24c5eed3411cb9bfc746fba
Contents?: true
Size: 766 Bytes
Versions: 9
Compression:
Stored size: 766 Bytes
Contents
class CreateMetaDefinition < ActiveRecord::Migration def self.up create_table :meta_definitions do |t| t.string :label_path t.string :label t.integer :parent_id t.string :sort_by t.integer :per_page t.string :default_type # STI class t.string :default_state t.text :autherisation t.text :field_map t.text :flash_messages t.boolean :randomise_permalink, :default => false t.boolean :body_strip_html, :default => false t.integer :body_length t.boolean :record_hits, :default => false t.integer :position, :default => 0 t.boolean :notify_admin, :default => 0 end end def self.down drop_table :meta_definitions end end
Version data entries
9 entries across 9 versions & 1 rubygems