Sha256: e24ca8edf19fd93d3ab665c21cf022a15d98f674c6e6762ecaa16d99dac8c559
Contents?: true
Size: 294 Bytes
Versions: 154
Compression:
Stored size: 294 Bytes
Contents
class AddRoutesTable < ActiveRecord::Migration def self.up create_table :routes do |t| t.integer :session_id t.string :subnet t.string :netmask end remove_column :sessions, :routes end def self.down drop_table :routes add_column :sessions, :routes, :string end end
Version data entries
154 entries across 154 versions & 1 rubygems