Last change
on this file since aac6b0a was
7b7d827,
checked in by njw <njw@…>, 11 years ago
|
opened projects: hothotwrite and contact
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[7b7d827] | 1 | # This file is auto-generated from the current state of the database. Instead of editing this file, |
---|
| 2 | # please use the migrations feature of Active Record to incrementally modify your database, and |
---|
| 3 | # then regenerate this schema definition. |
---|
| 4 | # |
---|
| 5 | # Note that this schema.rb definition is the authoritative source for your database schema. If you need |
---|
| 6 | # to create the application database on another system, you should be using db:schema:load, not running |
---|
| 7 | # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations |
---|
| 8 | # you'll amass, the slower it'll run and the greater likelihood for issues). |
---|
| 9 | # |
---|
| 10 | # It's strongly recommended to check this file into your version control system. |
---|
| 11 | |
---|
| 12 | ActiveRecord::Schema.define(:version => 8) do |
---|
| 13 | |
---|
| 14 | create_table "contactgroups", :force => true do |t| |
---|
| 15 | t.string "groupname" |
---|
| 16 | end |
---|
| 17 | |
---|
| 18 | create_table "contacts", :force => true do |t| |
---|
| 19 | t.string "name" |
---|
| 20 | t.string "email" |
---|
| 21 | t.string "url" |
---|
| 22 | t.text "free_text" |
---|
| 23 | t.integer "contactgroup_id", :limit => 11, :null => false |
---|
| 24 | t.string "surname" |
---|
| 25 | t.string "newname" |
---|
| 26 | end |
---|
| 27 | |
---|
| 28 | add_index "contacts", ["contactgroup_id"], :name => "fk_contacts_contactgroups" |
---|
| 29 | add_index "contacts", ["name"], :name => "index_contacts_on_name" |
---|
| 30 | |
---|
| 31 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.