Sha256: b1f017e806d6e3d0f9691a18d5b9ee98a35d525e1df3cf18128bfcc770c0b9fe
Contents?: true
Size: 488 Bytes
Versions: 8
Compression:
Stored size: 488 Bytes
Contents
class CreateTestimonials < ActiveRecord::Migration[5.0] def self.up create_table :testimonials do |t| t.string :name, :null => false, :limit=>256 t.string :designation, :null => true, :limit=>256 t.string :organisation, :null => true, :limit=>256 t.string :status, :null => false, :limit=>64 t.boolean :featured, default: false t.text :statement t.timestamps null: false end end def self.down drop_table :testimonials end end
Version data entries
8 entries across 8 versions & 1 rubygems