Sha256: 32c3f5f4b547f2adc7db33f762cd1b73e0fb6fe5ddcb5319d78905b9f29bdd02

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

ActiveRecord::Schema.define(version: 0) do
  create_table :groups do |t|
    t.string     :type
    t.string     :name
  end

  create_table :group_memberships do |t|
    t.references :member, polymorphic: true, index: true, null: false
    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

4 entries across 4 versions & 1 rubygems

Version Path
groupify-0.9.0 spec/internal/db/schema.rb
groupify-0.8.0 spec/db/schema.rb
groupify-0.7.2 spec/db/schema.rb
groupify-0.7.1 spec/db/schema.rb