mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Fix format of database migrations
This commit is contained in:
parent
3c9af21f2c
commit
163e43a3c9
5 changed files with 19 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
class CreateUsers < ActiveRecord::Migration
|
||||
class CreateUsers < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
create_table :users do |t|
|
||||
t.string :email
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class CreatePapers < ActiveRecord::Migration
|
||||
class CreatePapers < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
create_table :papers do |t|
|
||||
t.string :name
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class CreateImporters < ActiveRecord::Migration
|
||||
class CreateImporters < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
create_table :importers do |t|
|
||||
t.string :url
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class CreatePaperSearches < ActiveRecord::Migration
|
||||
class CreatePaperSearches < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
create_table :paper_searches do |t|
|
||||
t.string :query
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue