Sha256: ff9200e35ee3b88a802cef785c02f1fbe87b4ca844911fe51ef6878ba6bdf054

Contents?: true

Size: 851 Bytes

Versions: 6

Compression:

Stored size: 851 Bytes

Contents

class CreateFastuiMLists < ActiveRecord::Migration
  def change
    create_table :fastui_m_lists do |t|
      t.string :title, :limit => 60, :null => false
      t.string :print_text,:default => '',:limit => 60
      t.string :name, :default => '', :limit => 60          #系统编码
      t.string :filter, :default => ''
      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

6 entries across 6 versions & 1 rubygems

Version Path
fastui-0.1.8 db/migrate/20121211062955_create_fastui_m_lists.rb
fastui-0.1.7 db/migrate/20121211062955_create_fastui_m_lists.rb
fastui-0.1.6 db/migrate/20121211062955_create_fastui_m_lists.rb
fastui-0.1.4 db/migrate/20121211062955_create_fastui_m_lists.rb
fastui-0.1.3 db/migrate/20121211062955_create_fastui_m_lists.rb
fastui-0.1.2 db/migrate/20121211062955_create_fastui_m_lists.rb