Sha256: b6e2991c4e8ccceaa25191ea4a210e6be587c9d2e8a5ce1071d219d1e7211718

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

class CreateTestimonials < ActiveRecord::Migration
  def change
    create_table :testimonials do |t|
      t.string      :name
      t.string      :country
      t.text        :content
      t.boolean     :is_visible, default: false

      t.inet        :remote_ip
      t.integer     :account_id

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 db/migrate/20130703101316_create_testimonials.rb