Sha256: 4642a79327075d07c0bacb8b38800eb8b6b64285d4a8cd9b52de21afc6c0540b
Contents?: true
Size: 259 Bytes
Versions: 5
Compression:
Stored size: 259 Bytes
Contents
class CreateCalendars < ActiveRecord::Migration[5.1] def change create_table :calendars do |t| t.string :name t.string :slug t.text :description t.string :css_class end add_index :calendars, :slug, unique: true end end
Version data entries
5 entries across 5 versions & 1 rubygems