Sha256: 922e6c6b078e2127dea1b056366ffc013f39fc8333f9969ddfe6533f4837ce94
Contents?: true
Size: 406 Bytes
Versions: 34
Compression:
Stored size: 406 Bytes
Contents
class AddSocialToUsers < ActiveRecord::Migration[5.2] def self.up add_column :users, :facebook_handle, :string add_column :users, :twitter_handle, :string add_column :users, :googleplus_handle, :string end def self.down remove_column :users, :facebook_handle, :string remove_column :users, :twitter_handle, :string remove_column :users, :googleplus_handle, :string end end
Version data entries
34 entries across 24 versions & 1 rubygems