Sha256: 8377ee95dcd0c3b8c4f4a791da4a5237d20f3a88dc170776668d124b227b9233
Contents?: true
Size: 435 Bytes
Versions: 6
Compression:
Stored size: 435 Bytes
Contents
class CreateCasContents < ActiveRecord::Migration[5.0] def change create_table :cas_contents, id: :uuid do |t| t.column :section_id, :uuid t.string :title t.text :text t.column :author_id, :uuid t.datetime :date t.boolean :published t.timestamps end add_index :cas_contents, :section_id add_index :cas_contents, :author_id add_index :cas_contents, :published end end
Version data entries
6 entries across 6 versions & 1 rubygems