Sha256: 73a5a1c67102f558467087b410770dfe687d6a3fecbda19cd05cbd1cd8a036f3
Contents?: true
Size: 907 Bytes
Versions: 5
Compression:
Stored size: 907 Bytes
Contents
class CreateAuthSources < ActiveRecord::Migration def self.up create_table :auth_sources do |t| t.string "type", :limit => 30, :default => "", :null => false t.string "name", :limit => 60, :default => "", :null => false t.string "host", :limit => 60 t.integer "port" t.string "account" t.string "account_password", :limit => 60 t.string "base_dn" t.string "attr_login", :limit => 30 t.string "attr_firstname", :limit => 30 t.string "attr_lastname", :limit => 30 t.string "attr_mail", :limit => 30 t.boolean "onthefly_register", :default => false, :null => false t.boolean "tls", :default => false, :null => false t.timestamps end end def self.down drop_table :auth_sources end end
Version data entries
5 entries across 5 versions & 1 rubygems