Skip to content
  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in
Logo1

hfpp2012 / react-rails-demo

Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • react-rails-demo
  • db
  • migrate
  • 20150707124850_create_records.rb
  • suifeng's avatar
    first commit · 3c7f76b7
    suifeng committed Jul 07, 2015
    3c7f76b7
20150707124850_create_records.rb 205 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11
class CreateRecords < ActiveRecord::Migration
  def change
    create_table :records do |t|
      t.string :title
      t.date :date
      t.float :amount

      t.timestamps null: false
    end
  end
end