Sha256: 50a8adaac9c3794d64bd4d51f3d96405162c20354e59a7254124576f592ecf03
Contents?: true
Size: 865 Bytes
Versions: 2
Compression:
Stored size: 865 Bytes
Contents
class CreateUserGroupHasCheckoutTypes < ActiveRecord::Migration[5.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
2 entries across 2 versions & 2 rubygems