Sha256: 5ddfcc85febf2641585f71055d2e3ff0839566f2a55675c65d13777c32a8ab96
Contents?: true
Size: 553 Bytes
Versions: 9
Compression:
Stored size: 553 Bytes
Contents
### QALAM_MERIT ### class CreateMeritBadges < ActiveRecord::Migration<%= migration_version %> def change create_table :merit_badges do |t| t.string :name t.integer :level, default: 1 t.integer :points, default: 0 t.text :description t.string :difficulty t.boolean :active, default: true t.references :user, limit: 8, foreign_key: true, index: true, null: true t.references :root_account, foreign_key: { to_table: 'accounts'}, limit: 8, null: false, index: true t.timestamps end end end
Version data entries
9 entries across 9 versions & 1 rubygems