Sha256: 12a9de6ee08fa2a79edaeb03e310636238097d4bf1c9755be59add304f342910
Contents?: true
Size: 828 Bytes
Versions: 6
Compression:
Stored size: 828 Bytes
Contents
class CreateFastuiMOrgs < ActiveRecord::Migration def change create_table :fastui_m_orgs do |t| t.string :title, :limit => 60, :null => false t.string :print_text,:default => '',:limit => 60 t.string :name,:default => '', :limit => 60 t.string :type t.integer :parent_id t.integer :lft t.integer :rgt t.integer :depth # this is optional. 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