Sha256: 5af0e13eadc36382a8c68d3300eb02dc85d14566a46b3e2cb8124d88cb074ffe

Contents?: true

Size: 1.36 KB

Versions: 11

Compression:

Stored size: 1.36 KB

Contents

ActiveRecord::Schema.define(:version => 1) do

  create_table "books", :force => true do |t|
    t.column "title", "string"
    t.column "type", "text"
  end

  create_table "things", :force => true do |t|
    t.column "name", "string"
  end

  create_table "posts", :force => true do |t|
    t.column "title", "string"
    t.column "content", "text"
    t.column "created_at", "datetime"
    t.column "updated_at", "datetime"
  end

  create_table "users", :force => true do |t|
    t.column "login", "string"
    t.column "email", "string"
    t.column "created_at", "datetime"
    t.column "updated_at", "datetime"
  end

  create_table "people", :force => true do |t|
    t.column "name", "string"
    t.column "country_id", "integer"
  end

  create_table "countries", :force => true do |t|
    t.column "name", "string"
  end

  create_table "slugs", :force => true do |t|
    t.column "name", "string"
    t.column "sluggable_id", "integer"
    t.column "sequence", "integer", :null       => false, :default => 1
    t.column "sluggable_type", "string", :limit => 40
    t.column "scope", "string", :limit          => 40
    t.column "created_at", "datetime"
  end

  add_index "slugs", ["sluggable_id"], :name           => "index_slugs_on_sluggable_id"
  add_index "slugs", ["name", "sluggable_type", "scope", "sequence"], :name => "index_slugs_on_n_s_s_and_s", :unique => true

end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
dougcole-friendly_id-2.0.6 test/schema.rb
norman-friendly_id-2.0.4 test/schema.rb
norman-friendly_id-2.1.0 test/schema.rb
norman-friendly_id-2.1.1 test/schema.rb
norman-friendly_id-2.1.2 test/schema.rb
rakutenusa-friendly_id-2.0.6 test/schema.rb
rakutenusa-friendly_id-2.0.7 test/schema.rb
friendly_id-2.0.4 test/schema.rb
friendly_id-2.1.2 test/schema.rb
friendly_id-2.1.1 test/schema.rb
friendly_id-2.1.0 test/schema.rb