root/db/schema.rb @ 8

Revision 1, 2.2 kB (checked in by falcon, 17 years ago)

Version one -> initial work from the laptop.

Line 
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 ActiveRecord 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
12ActiveRecord::Schema.define(:version => 8) do
13
14  create_table "artwork", :force => true do |t|
15    t.string   "sTitle"
16    t.datetime "created_at"
17    t.datetime "updated_at"
18  end
19
20  create_table "engineering", :force => true do |t|
21    t.string   "sTitle"
22    t.datetime "created_at"
23    t.datetime "updated_at"
24  end
25
26  create_table "galleries", :force => true do |t|
27    t.string   "sTitle"
28    t.text     "tDescription"
29    t.string   "sType"
30    t.integer  "engineering_id"
31    t.integer  "artwork_id"
32    t.datetime "created_at"
33    t.datetime "updated_at"
34  end
35
36  create_table "gallery_files", :force => true do |t|
37    t.string   "sTitle"
38    t.text     "sDescription"
39    t.string   "filename"
40    t.integer  "gallery_id"
41    t.datetime "created_at"
42    t.datetime "updated_at"
43  end
44
45  create_table "gallery_medias", :force => true do |t|
46    t.string   "sTitle"
47    t.text     "tDescription"
48    t.string   "medianame"
49    t.integer  "gallery_id"
50    t.datetime "created_at"
51    t.datetime "updated_at"
52  end
53
54  create_table "test1s", :force => true do |t|
55    t.datetime "created_at"
56    t.datetime "updated_at"
57  end
58
59  create_table "users", :force => true do |t|
60    t.string   "login"
61    t.string   "email"
62    t.string   "crypted_password",          :limit => 40
63    t.string   "salt",                      :limit => 40
64    t.string   "role"
65    t.datetime "created_at"
66    t.datetime "updated_at"
67    t.string   "remember_token"
68    t.datetime "remember_token_expires_at"
69  end
70
71end
Note: See TracBrowser for help on using the browser.