mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-10-18 23:54:37 +02:00
18 lines
375 B
Ruby
18 lines
375 B
Ruby
|
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
|