cartodb/db/migrate/20140114131419_add_created_at_to_users.rb

8 lines
147 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
change do
alter_table :users do
add_column :created_at, DateTime, default: Sequel.function(:now)
end
end
end