Sha256: 474bfc2d24075dcdd7f756cc9d1c2e46139d689f377f71021d6e810a00783dae
Contents?: true
Size: 710 Bytes
Versions: 7
Compression:
Stored size: 710 Bytes
Contents
class CreateConnections < ActiveRecord::Migration def self.up create_table(:connections, :id => false) do |t| t.string :uuid, :limit => 36, :primary => false t.string :name # To allow for multiple types of connections t.string :type # round-robin or broadcast t.string :delivery # Data flows from an output port to an input port t.string :output_port_uuid t.string :output_port_key, :default => '0' t.string :input_port_uuid t.string :input_port_key, :default => '0' t.text :options t.timestamps end add_index :connections, :uuid, :unique => true end def self.down drop_table :connections end end
Version data entries
7 entries across 7 versions & 1 rubygems