Sha256: a2fe42807b9ced24c0ffc66529e8fc00a0897efdced6d9c5c76ea5b9b7545c1f
Contents?: true
Size: 621 Bytes
Versions: 7
Compression:
Stored size: 621 Bytes
Contents
class CreatePushTypeNodes < ActiveRecord::Migration[4.2] def change enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp') create_table :push_type_nodes, id: :uuid, default: 'uuid_generate_v4()' do |t| t.string :type t.string :title t.string :slug t.jsonb :field_store t.uuid :parent_id t.integer :sort_order t.integer :status t.datetime :published_at t.datetime :published_to t.uuid :creator_id t.uuid :updater_id t.timestamps null: false t.datetime :deleted_at end end end
Version data entries
7 entries across 7 versions & 1 rubygems