Sha256: 862ddef29947a4e4d4d1bc76e8891b5a96c7c72a9597fad83e259ee131a76ed4
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
# $Id$ class EntryMigration < ActiveRecord::Migration def self.up create_table "entries", :force => true do |t| t.column "name", :string t.column "date", :datetime t.column "memo", :text t.column "amount", :integer # Currency::Money t.column "approved", :boolean end end def self.down drop_table "entries" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
user_query-0.1.0 | examples/userqueryex/db/migrate/001_entry_migration.rb |