stadtratmonitor/db/migrate/20150413193656_create_papers.rb

18 lines
375 B
Ruby
Raw Normal View History

2015-04-13 22:09:28 +02:00
class CreatePapers < ActiveRecord::Migration def change
create_table :papers do |t|
t.string :name
t.string :url
t.string :reference
t.string :name
t.datetime :published_at
t.datetime :scraped_at
t.string :paper_type
t.string :originator
t.text :resolution
t.text :content
t.timestamps
end
end
end