class CreateFastExtMPeople < ActiveRecord::Migration
  def change
    create_table :fast_ext_m_people do |t|
      t.string :title, :limit => 60, :null => false
      t.string :print_text,:default => '',:limit => 60
      t.string :name,:default => '',:limit => 60
      t.string :username,:default => '',:limit => 60
      t.string :password_digest
      t.string :access_level, :default => 'org',:limit => 60
      t.string :type

      t.string :entity_kind, :default => 'app'                   #:sys,:app
      t.integer :seq, :default => 0
      t.boolean :is_active, :default => true
      t.string :note , :default => ''
      t.integer :createdbyorg_id, :default => 0
      t.integer :createdby_id, :default => 0
      t.integer :updatedby_id, :default => 0

      t.timestamps
    end
  end
end
