Sha256: e6452a91f0f77254101c4b642f61f42d63428124f7e1aaeb257d75cee4603ead

Contents?: true

Size: 792 Bytes

Versions: 4

Compression:

Stored size: 792 Bytes

Contents

class CreateFastuiMRelationships < ActiveRecord::Migration
  def change
    create_table :fastui_m_relationships do |t|
      t.references :m_person
      t.references :m_org
      t.references :m_role

      t.string :title, :limit => 60
      t.string :print_text,:default => '',:limit => 60
      t.string :name, :default => '', :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.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/20121204061207_create_fastui_m_relationships.rb
fastui-0.1.4 db/migrate/20121204061207_create_fastui_m_relationships.rb
fastui-0.1.3 db/migrate/20121204061207_create_fastui_m_relationships.rb
fastui-0.1.2 db/migrate/20121204061207_create_fastui_m_relationships.rb