Sha256: d26088a3fb4b482969c52f12ac2210a32b9e99c9da7ed789973dc33e056ac66f
Contents?: true
Size: 548 Bytes
Versions: 5
Compression:
Stored size: 548 Bytes
Contents
class CreateTeamMembers < ActiveRecord::Migration[5.0] def self.up create_table :team_members do |t| t.string :name t.string :designation t.text :description t.string :linked_in_url t.string :google_plus_url t.string :facebook_url t.string :twitter_url t.string :status, :null => false, :limit=>64 t.boolean :featured, default: false t.integer :priority, default: 1, null: false t.timestamps null: false end end def self.down drop_table :team_members end end
Version data entries
5 entries across 5 versions & 1 rubygems