Sha256: 9a031675e8431427e55628c4c24e273eae306f2bd441d33f1998822470505599
Contents?: true
Size: 593 Bytes
Versions: 12
Compression:
Stored size: 593 Bytes
Contents
class AddRoroacmsTerms < ActiveRecord::Migration def self.up create_table(:roroacms_terms) do |t| t.string "name" t.string "slug" t.text "structured_url" t.text "description" t.integer "parent_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.text "cover_image" t.string "ancestry" end add_index "roroacms_terms", ["ancestry"], name: "index_terms_on_ancestry", using: :btree end def self.down drop_table :roroacms_terms end end
Version data entries
12 entries across 12 versions & 1 rubygems