Sha256: c9d1a5b798d6efa7de0408c50c595ecab130a21319cd5556aaf2da10c7d56cad
Contents?: true
Size: 865 Bytes
Versions: 56
Compression:
Stored size: 865 Bytes
Contents
class CreateUserGroupHasCheckoutTypes < ActiveRecord::Migration[4.2] def self.up create_table :user_group_has_checkout_types do |t| t.references :user_group, index: true, foreign_key: true, null: false t.references :checkout_type, index: true, foreign_key: true, null: false t.integer :checkout_limit, default: 0, null: false t.integer :checkout_period, default: 0, null: false t.integer :checkout_renewal_limit, default: 0, null: false t.integer :reservation_limit, default: 0, null: false t.integer :reservation_expired_period, default: 7, null: false t.boolean :set_due_date_before_closing_day, default: false, null: false t.datetime :fixed_due_date t.text :note t.integer :position t.timestamps end end def self.down drop_table :user_group_has_checkout_types end end
Version data entries
56 entries across 56 versions & 4 rubygems