Sha256: 306e40b05078fa4313c9a7fa5d76d9731cf93519b06698b0e0a4f85773b29555

Contents?: true

Size: 333 Bytes

Versions: 13

Compression:

Stored size: 333 Bytes

Contents

class CreateGphotos < ActiveRecord::Migration
  def change
    create_table :c80_news_tz_gphotos, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.string :image
      t.string :title
      t.references :gallery, index: true

      t.timestamps null: false
    end
    # add_foreign_key :c80_news_tz_gphotos, :galleries
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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