Sha256: bb0c0380a95b555e0a95c73db01d939880d21c655c5ed5aac1617771bffe7380

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

class CreateSettings < ActiveRecord::Migration
  def self.up
    create_table :settings do |t|
      t.string :name,
        :lang,
        :time_zone,
        :phone_number,
        :fax_number,
        :email
      t.text :mailer,
        :smtp_settings,
        :sendmail_settings, :null => false
      t.belongs_to :address
    end
  end

  def self.down
    drop_table :settings
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_core-1.9.5.rc2 db/migrate/20091030163643_create_settings.rb
forgeos_core-1.9.5.rc1 db/migrate/20091030163643_create_settings.rb