Sha256: 87feea326a474579024ccc1f0f8fdc8f418a2b74a07ba2e842f59395117f6aee

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

class CreateClients < ActiveRecord::Migration
  def self.up
    create_table :clients do |t|
      t.string :tla
      t.string :name
      t.integer :tla_group, :default => 0
      t.boolean :needs_tla, :default => true
      t.timestamps
    end
  end
  def self.down
    drop_table :clients
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_unique_three_letter_code-0.0.1 spec/support/migration.rb