Sha256: f406d7dc5980fae309322b664182e1b2131e2f99a60c25ff9b8d04bba636c3ad
Contents?: true
Size: 540 Bytes
Versions: 7
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true # This migration comes from spina (originally 11) class CreateSpinaResources < ActiveRecord::Migration[5.1] def change create_table :spina_resources do |t| t.string :name, null: false, unique: true t.string :label t.string :view_template t.integer :parent_page_id t.string :order_by t.timestamps end add_column :spina_pages, :resource_id, :integer, null: true add_index :spina_pages, :resource_id add_index :spina_resources, :parent_page_id end end
Version data entries
7 entries across 7 versions & 1 rubygems