File: schema.rb

package info (click to toggle)
ruby-gettext-rails 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,408 kB
  • sloc: ruby: 1,042; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 964 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file is auto-generated from the current state of the database. Instead of editing this file, 
# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
# to create the application database on another system, you should be using db:schema:load, not running
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 1) do
    create_table :articles do |t|
      t.string :title, :default => "", :null => false
      t.text :description, :default => "", :null => false
      t.date :lastupdate
      t.timestamps
    end
end