Sha256: 298b5fea7b3609cd2bd79ef01bb34b99a4d07ad079aebb058954cd499e82f045
Contents?: true
Size: 519 Bytes
Versions: 29
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true class CreatePageVersions < ActiveRecord::Migration[6.0] 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
29 entries across 29 versions & 1 rubygems