Sha256: 0698f54a857b2ce4790a085d443ff90d5f976928f1dbe4d2f25742c1e8b46f1a
Contents?: true
Size: 515 Bytes
Versions: 6
Compression:
Stored size: 515 Bytes
Contents
class AddColumnsToCasContents < ActiveRecord::Migration[5.0] def change add_column :cas_contents, :pageviews, :integer add_column :cas_contents, :metadata, :jsonb, default: '{}' add_column :cas_contents, :summary, :text add_column :cas_contents, :details, :jsonb, default: '{}' add_column :cas_contents, :slug, :string change_column :cas_contents, :section_id, :uuid, null: false change_column :cas_contents, :author_id, :uuid, null: false add_index :cas_contents, :slug end end
Version data entries
6 entries across 6 versions & 1 rubygems