kaps_app/db/migrate/20160418191643_create_tiny_urls.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

16 lines
307 B
Ruby

# -*- encoding : utf-8 -*-
class CreateTinyUrls < ActiveRecord::Migration
def change
create_table :tiny_urls do |t|
t.string :url
t.string :slug
t.text :description
t.datetime :start_at
t.datetime :stop_at
t.integer :nbr_views
t.timestamps
end
end
end