Sha256: 14a8124c5c1b47ff6e685a845a79621697547166df660456941c3db894677340
Contents?: true
Size: 435 Bytes
Versions: 15
Compression:
Stored size: 435 Bytes
Contents
class InitialMigration < ActiveRecord::Migration def self.up create_table "comments" do |t| t.column "author", :string, :limit => 100 t.column "content", :text t.column "content_id", :integer end create_table "contents" do |t| t.column "title", :string, :limit => 100 t.column "description", :text end end def self.down drop_table "comments" drop_table "contents" end end
Version data entries
15 entries across 15 versions & 4 rubygems