2
|
1 # This file is auto-generated from the current state of the database. Instead
|
|
2 # of editing this file, please use the migrations feature of Active Record to
|
|
3 # incrementally modify your database, and then regenerate this schema definition.
|
|
4 #
|
|
5 # Note that this schema.rb definition is the authoritative source for your
|
|
6 # database schema. If you need to create the application database on another
|
|
7 # system, you should be using db:schema:load, not running all the migrations
|
|
8 # from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
9 # you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
10 #
|
|
11 # It's strongly recommended to check this file into your version control system.
|
|
12
|
23
|
13 ActiveRecord::Schema.define(:version => 20120905074204) do
|
2
|
14
|
|
15 create_table "pastes", :force => true do |t|
|
21
|
16 t.string "ip", :limit => 50, :null => false
|
|
17 t.text "paste", :null => false
|
|
18 t.string "paste_hash", :limit => 150, :null => false
|
|
19 t.datetime "created_at", :null => false
|
|
20 t.datetime "updated_at", :null => false
|
2
|
21 end
|
|
22
|
|
23 add_index "pastes", ["ip", "paste_hash"], :name => "index_pastes_on_ip_and_hash", :unique => true
|
|
24
|
|
25 end
|