Sha256: fa61375908e7728a2a3e7f22e9485bffe7f78cbe30ae316e68905ae89f5c7f2b
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
ActiveRecord::Schema.define(version: 0) do create_table :groups do |t| t.string :name t.string :type end create_table :group_memberships do |t| t.references :member, polymorphic: true, index: true t.references :group, polymorphic: true, index: true t.string :group_name, index: true t.string :membership_type end create_table :users do |t| t.string :name t.string :type end create_table :widgets do |t| t.string :name end create_table :projects do |t| t.string :name end create_table :organizations do |t| t.string :name end create_table :members do |t| t.string :name end create_table :classrooms do |t| t.string :name end create_table :custom_group_memberships do |t| t.references :member, polymorphic: true, index: true t.references :group, polymorphic: true, index: true t.string :group_name, index: true t.string :membership_type end create_table :custom_groups do |t| t.string :name t.string :type end create_table :custom_users do |t| t.string :name t.string :type end create_table :project_members do |t| t.string :name end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
groupify-0.7.0 | spec/db/schema.rb |