Sha256: 1fe62b0efd07f754c05cab2e8a53d37b062262a38345a9663e491cc06a892d2f

Contents?: true

Size: 295 Bytes

Versions: 116

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

116 entries across 116 versions & 1 rubygems

Version Path
trusty-cms-5.0.3 db/migrate/023_add_sites.rb
trusty-cms-5.0.2 db/migrate/023_add_sites.rb
trusty-cms-5.0.1 db/migrate/023_add_sites.rb
trusty-cms-4.3.5 db/migrate/023_add_sites.rb
trusty-cms-5.0.0 db/migrate/023_add_sites.rb
trusty-cms-4.3.4 db/migrate/023_add_sites.rb
trusty-cms-4.3.3 db/migrate/023_add_sites.rb
trusty-cms-4.3.2 db/migrate/023_add_sites.rb
trusty-cms-4.3.1 db/migrate/023_add_sites.rb
trusty-cms-4.3 db/migrate/023_add_sites.rb
trusty-cms-4.2.3 db/migrate/023_add_sites.rb
trusty-cms-4.2.2 db/migrate/023_add_sites.rb
trusty-cms-4.2.1 db/migrate/023_add_sites.rb
trusty-cms-4.2 db/migrate/023_add_sites.rb
trusty-cms-4.1.9 db/migrate/023_add_sites.rb
trusty-cms-4.1.8 db/migrate/023_add_sites.rb
trusty-cms-4.1.7 db/migrate/023_add_sites.rb
trusty-cms-4.1.6 db/migrate/023_add_sites.rb
trusty-cms-4.1.5 db/migrate/023_add_sites.rb
trusty-cms-4.1.4 db/migrate/023_add_sites.rb