class CreateTramwayProfilesSocialNetworks

Public Instance Methods

change() click to toggle source
# File lib/tramway/profiles/generates/templates/create_tramway_profiles_social_networks.rb, line 4
def change
  create_table :tramway_profiles_social_networks do |t|
    t.text :title
    t.text :uid
    t.integer :record_id
    t.text :record_type
    t.text :network_name
    t.text :state, default: :active

    t.timestamps
  end
end