Sha256: 5a750d615d61c900e3599c5efb5c32e3c3e3436845eac9e0e846187bad61b908
Contents?: true
Size: 610 Bytes
Versions: 1
Compression:
Stored size: 610 Bytes
Contents
# frozen_string_literal: true class CreateNuntiusTemplates < ActiveRecord::Migration[5.1] def change enable_extension 'pgcrypto' create_table :nuntius_templates, id: :uuid do |t| t.string :klass t.string :event t.string :transport t.string :description t.jsonb :metadata, null: false, default: {} t.references :layout, index: true, type: :uuid, foreign_key: { to_table: :nuntius_templates } t.string :from t.string :to t.string :subject t.text :html t.text :text t.jsonb :payload t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nuntius-1.0.27 | db/migrate/20190301201541_create_nuntius_templates.rb |