Sha256: 0f8771f642f7cbb57c27b22777d8227fe1f4cc7593d0bb8e6e7fb2e99859bfec

Contents?: true

Size: 786 Bytes

Versions: 4

Compression:

Stored size: 786 Bytes

Contents

class CreateFastuiMRoles < ActiveRecord::Migration
  def change
    create_table :fastui_m_roles do |t|
      t.string :title, :limit => 60, :null => false
      t.string :print_text,:default => '',:limit => 60
      t.string :name, :default => '', :limit => 60 # 系统标识
      t.string :access_level , :default => 'org'        #:system,:org,:dept
      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.string :help, :default => ''
      t.integer :createdbyorg_id, :default => 0
      t.integer :createdby_id, :default => 0
      t.integer :updatedby_id, :default => 0

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fastui-0.1.6 db/migrate/20121204021053_create_fastui_m_roles.rb
fastui-0.1.4 db/migrate/20121204021053_create_fastui_m_roles.rb
fastui-0.1.3 db/migrate/20121204021053_create_fastui_m_roles.rb
fastui-0.1.2 db/migrate/20121204021053_create_fastui_m_roles.rb