TrestleAdmin/trestle

View on GitHub
sandbox/db/migrate/20210712064032_create_offices.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateOffices < ActiveRecord::Migration[6.1]
  def change
    create_table :offices do |t|
      t.string :city
      t.string :country

      t.string :address_1
      t.string :address_2

      t.string :url
      t.string :phone

      t.timestamps
    end
  end
end