Sha256: 84da5e0c7e8e4afc8ce65c1587ffd3b21993363026c8733ddc78378f766b4774
Contents?: true
Size: 429 Bytes
Versions: 134
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true class CreateDecidimNewsletters < ActiveRecord::Migration[5.0] def change create_table :decidim_newsletters do |t| t.jsonb :subject t.jsonb :body t.references :organization t.references :author, foreign_key: { to_table: :decidim_users } t.integer :total_recipients t.integer :total_deliveries t.datetime :sent_at t.timestamps end end end
Version data entries
134 entries across 134 versions & 2 rubygems