Sha256: 87c2e0f44ec1ba51b5a998122e2fe37ba26b9ab96bd30ffc7cb8b6925317b9fc
Contents?: true
Size: 705 Bytes
Versions: 243
Compression:
Stored size: 705 Bytes
Contents
class CreateLibraryGroups < ActiveRecord::Migration def self.up create_table :library_groups do |t| t.string :name, :null => false t.text :display_name t.string :short_name, :null => false t.string :email t.text :my_networks t.boolean :use_dsbl, :default => false, :null => false t.text :dsbl_list t.text :login_banner t.text :note t.integer :valid_period_for_new_user, :default => 365, :null => false t.boolean :post_to_union_catalog, :default => false, :null => false t.integer :country_id t.timestamps end add_index :library_groups, :short_name end def self.down drop_table :library_groups end end
Version data entries
243 entries across 243 versions & 8 rubygems