Sha256: cfb928d69e45a037081016ab51ed4b0b604674900232a0a5465c6c09a2241f74
Contents?: true
Size: 519 Bytes
Versions: 10
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true class CreatePageVersions < ActiveRecord::Migration[5.2] def change create_table :alchemy_page_versions do |t| t.references :page, null: false, index: true, foreign_key: { to_table: :alchemy_pages, on_delete: :cascade, } t.datetime :public_on t.datetime :public_until t.index [:public_on, :public_until] t.timestamps end end end
Version data entries
10 entries across 10 versions & 1 rubygems