comparison db/schema.rb @ 23:f5d2f373770b

Reenforce not null.
author Edho Arief <edho@myconan.net>
date Wed, 05 Sep 2012 14:43:38 +0700
parents 3c31c0beb9c2
children a9dba6a3008b
comparison
equal deleted inserted replaced
22:032686a0c995 23:f5d2f373770b
8 # from scratch. The latter is a flawed and unsustainable approach (the more 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). 9 # you'll amass, the slower it'll run and the greater likelihood for issues).
10 # 10 #
11 # It's strongly recommended to check this file into your version control system. 11 # It's strongly recommended to check this file into your version control system.
12 12
13 ActiveRecord::Schema.define(:version => 20120905072325) do 13 ActiveRecord::Schema.define(:version => 20120905074204) do
14 14
15 create_table "pastes", :force => true do |t| 15 create_table "pastes", :force => true do |t|
16 t.string "ip", :limit => 50, :null => false 16 t.string "ip", :limit => 50, :null => false
17 t.text "paste", :null => false 17 t.text "paste", :null => false
18 t.string "paste_hash", :limit => 150, :null => false 18 t.string "paste_hash", :limit => 150, :null => false