Sha256: 1fe62b0efd07f754c05cab2e8a53d37b062262a38345a9663e491cc06a892d2f

Contents?: true

Size: 295 Bytes

Versions: 114

Compression:

Stored size: 295 Bytes

Contents

class AddSites < ActiveRecord::Migration[5.2]
  def self.up
    [:layouts, :snippets, :users].each do |table|
      add_column table, :site_id, :integer
    end
  end

  def self.down
    [:layouts, :snippets, :users].each do |table|
      add_column table, :site_id, :integer
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
trusty-cms-7.0.10 db/migrate/023_add_sites.rb
trusty-cms-7.0.9 db/migrate/023_add_sites.rb
trusty-cms-7.0.8 db/migrate/023_add_sites.rb
trusty-cms-7.0.7 db/migrate/023_add_sites.rb
trusty-cms-7.0.6 db/migrate/023_add_sites.rb
trusty-cms-7.0.5 db/migrate/023_add_sites.rb
trusty-cms-7.0.4 db/migrate/023_add_sites.rb
trusty-cms-7.0.3 db/migrate/023_add_sites.rb
trusty-cms-6.3.1 db/migrate/023_add_sites.rb
trusty-cms-7.0.2 db/migrate/023_add_sites.rb
trusty-cms-7.0.1 db/migrate/023_add_sites.rb
trusty-cms-7.0.0 db/migrate/023_add_sites.rb
trusty-cms-6.3 db/migrate/023_add_sites.rb
trusty-cms-6.2.1 db/migrate/023_add_sites.rb
trusty-cms-6.2.2.1 db/migrate/023_add_sites.rb
trusty-cms-6.2.0 db/migrate/023_add_sites.rb
trusty-cms-6.1.2 db/migrate/023_add_sites.rb
trusty-cms-6.1.1 db/migrate/023_add_sites.rb
trusty-cms-6.0.5 db/migrate/023_add_sites.rb
trusty-cms-6.0.4 db/migrate/023_add_sites.rb