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 | |
---|
12 | ActiveRecord::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 "iOrder" |
---|
31 | t.datetime "created_at" |
---|
32 | t.datetime "updated_at" |
---|
33 | end |
---|
34 | |
---|
35 | create_table "gallery_files", :force => true do |t| |
---|
36 | t.string "sTitle" |
---|
37 | t.text "sDescription" |
---|
38 | t.string "filename" |
---|
39 | t.integer "gallery_id" |
---|
40 | t.datetime "created_at" |
---|
41 | t.datetime "updated_at" |
---|
42 | end |
---|
43 | |
---|
44 | create_table "gallery_medias", :force => true do |t| |
---|
45 | t.string "sTitle" |
---|
46 | t.text "tDescription" |
---|
47 | t.string "medianame" |
---|
48 | t.integer "gallery_id" |
---|
49 | t.datetime "created_at" |
---|
50 | t.datetime "updated_at" |
---|
51 | end |
---|
52 | |
---|
53 | create_table "test1s", :force => true do |t| |
---|
54 | t.datetime "created_at" |
---|
55 | t.datetime "updated_at" |
---|
56 | end |
---|
57 | |
---|
58 | create_table "users", :force => true do |t| |
---|
59 | t.string "login" |
---|
60 | t.string "email" |
---|
61 | t.string "crypted_password", :limit => 40 |
---|
62 | t.string "salt", :limit => 40 |
---|
63 | t.string "role" |
---|
64 | t.datetime "created_at" |
---|
65 | t.datetime "updated_at" |
---|
66 | t.string "remember_token" |
---|
67 | t.datetime "remember_token_expires_at" |
---|
68 | end |
---|
69 | |
---|
70 | end |
---|