Sha256: c6166a55cd3cb0092a7f6f7482bf28823a524cd893f513320e7e3d185e48a779
Contents?: true
Size: 409 Bytes
Versions: 13
Compression:
Stored size: 409 Bytes
Contents
class CreateGutsContents < ActiveRecord::Migration def change create_table :guts_contents do |t| t.string :title t.string :slug t.text :tags, null: true t.text :content, null: true t.integer :visible, default: 1, limit: 1 t.references :type t.references :user t.timestamps null: false end add_index :guts_contents, :slug, unique: true end end
Version data entries
13 entries across 13 versions & 1 rubygems