Add geocodings table to store the new geocoding model

pull/240/head
David Arango 11 years ago
parent c9767f4d85
commit 6c92773929

@ -0,0 +1,15 @@
Sequel.migration do
change do
create_table :geocodings do
primary_key :id
Integer :user_id
Text :table_name
Integer :total_rows
Integer :processed_rows
DateTime :created_at, default: Sequel::CURRENT_TIMESTAMP
DateTime :updated_at, default: Sequel::CURRENT_TIMESTAMP
end
end
end

@ -0,0 +1,7 @@
Sequel.migration do
change do
alter_table :geocodings do
add_column :remote_id, :text
end
end
end

@ -0,0 +1,7 @@
Sequel.migration do
change do
alter_table :geocodings do
add_column :formatter, :text
end
end
end
Loading…
Cancel
Save