Sha256: c104be2838295af6ee4cc7d489da22c327cb375dd138ca2ed63c7a2d9bfb5aff
Contents?: true
Size: 710 Bytes
Versions: 39
Compression:
Stored size: 710 Bytes
Contents
class CreateProviders < ActiveRecord::Migration def change create_table :providers do |t| t.belongs_to :provider_profile t.belongs_to :provider_group t.string :title t.string :keyword t.string :juristic_name t.string :inn t.boolean :requires_print, :null => false, :default => true t.integer :foreign_id t.integer :provider_gateways_count, :default => 0 t.string :icon t.string :support_phone t.belongs_to :provider_receipt_template t.timestamps end add_index :providers, :keyword, :unique => true add_index :providers, :updated_at end end
Version data entries
39 entries across 39 versions & 1 rubygems