Sha256: ccf878fd9dddffe9281451cbef70352bc0fa0ab8992027f2afa3eb53e03b1e6e
Contents?: true
Size: 581 Bytes
Versions: 72
Compression:
Stored size: 581 Bytes
Contents
# This migration comes from push_type (originally 20150310115933) class CreatePushTypeTaxonomies < ActiveRecord::Migration def change enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp') create_table :push_type_taxonomies, id: :uuid, default: 'uuid_generate_v4()' do |t| t.string :type t.string :title t.string :slug t.uuid :parent_id t.integer :sort_order t.timestamps null: false end # Also add a tags array to Assets add_column :push_type_assets, :tags, :string, array: true end end
Version data entries
72 entries across 72 versions & 4 rubygems