Sha256: 62bf8f2d1bd8441314d931c1fdb7ff9930979b4a723b3ce9c611a322402e3821

Contents?: true

Size: 326 Bytes

Versions: 10

Compression:

Stored size: 326 Bytes

Contents

class CreateCompanies < ActiveRecord::Migration
  def change
    create_table :companies do |t|
      t.references :user
      t.string :name
      t.string :street
      t.string :number
      t.string :neighborhood
      t.string :city
      t.string :state
      t.string :country
      t.boolean :active
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
csv_import_magic-0.0.11 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.10 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.8 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.7 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.6 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.5 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.4 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.3 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.2 db/migrate/20170111145652_create_companies.rb
csv_import_magic-0.0.1 db/migrate/20170111145652_create_companies.rb