Sha256: 8a9ea733dcfc6d32b046bea4ac45a63f33280674961d4a63fa2814b0abeb7b15

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

class CreateAttorneyDocuments < ActiveRecord::Migration[5.0]
  def change
    create_table :attorney_documents do |t|
      t.string :slug, null: false
      t.boolean :published, null: false, default: false
      t.text :content

      t.timestamps
    end

    add_index :attorney_documents, :slug, unique: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
attorney-1.0.0 db/migrate/20180205173208_create_attorney_documents.rb