Sha256: ab095d593e5ce8e9ff8233ea0d3251a18a864081217e35cfd55233b33ba045ac

Contents?: true

Size: 546 Bytes

Versions: 13

Compression:

Stored size: 546 Bytes

Contents

class CreateAdresses < ActiveRecord::Migration
  def change
    create_table :c80_news_tz_adresses, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.string :locality
      t.string :street
      t.string :telephone_1
      t.string :telephone_2
      t.string :telephone_3
      t.string :latitude
      t.string :longitude
      t.string :email_1
      t.string :email_2
      t.string :site_1
      t.string :site_2
      t.references :company, :index => true
      t.references :notice, :index => true

      t.timestamps
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
c80_news_tz-0.1.1.26 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.25 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.24 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.23 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.22 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.21 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.19 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.18 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.17 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.16 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.15 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.1 db/migrate/20160227114040_create_adresses.rb
c80_news_tz-0.1.1.0 db/migrate/20160227114040_create_adresses.rb