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-4.1.1 db/migrate/023_add_sites.rb
trusty-cms-4.1.0 db/migrate/023_add_sites.rb
trusty-cms-4.0.2 db/migrate/023_add_sites.rb
trusty-cms-3.9.7 db/migrate/023_add_sites.rb
trusty-cms-3.9.6 db/migrate/023_add_sites.rb
trusty-cms-3.9.5 db/migrate/023_add_sites.rb
trusty-cms-4.0.1 db/migrate/023_add_sites.rb
trusty-cms-3.9.4 db/migrate/023_add_sites.rb
trusty-cms-3.9.3 db/migrate/023_add_sites.rb
trusty-cms-3.9.2 db/migrate/023_add_sites.rb
trusty-cms-4.0.0 db/migrate/023_add_sites.rb
trusty-cms-3.9.1 db/migrate/023_add_sites.rb
trusty-cms-3.9.0 db/migrate/023_add_sites.rb
trusty-cms-3.8.4 db/migrate/023_add_sites.rb
trusty-cms-3.8.3 db/migrate/023_add_sites.rb
trusty-cms-3.8.2 db/migrate/023_add_sites.rb
trusty-cms-3.8.1 db/migrate/023_add_sites.rb
trusty-cms-3.8.0 db/migrate/023_add_sites.rb
trusty-cms-3.7.1 db/migrate/023_add_sites.rb
trusty-cms-3.7.0 db/migrate/023_add_sites.rb